What do you want to save?
Add Code snippet
New code examples
-
Other 2021-11-10 10:39:45
memory overflow
In computer science, a memory leak is a type of resource leak that occurs when a computer program incorrectly manages memory allocations in a way that memory which is no longer needed is not released. A memory leak may also happen when an object is stored... Add solution -
Other 2021-11-01 15:41:16
difference between heap vs stack memory
Whenever an object is created, it’s always stored in the Heap space, and stack memory contains the reference to it. Stack memory only contains local primitive variables and reference variables to objects in heap space. Objects stored in the heap are... Add solution -
VBA 2021-10-03 11:05:02
excel vba error 424 object required when calling sub
'Excel VBA Error 424: Object required when calling sub. 'Error 424 is raised when an object is required but not provided. 'For the following Sub an argument of type Range is required. A Range is 'an object in Excel VBA. So when calling this Sub, the ca... Add solution -
C# 2021-09-24 15:58:02
c# new keyword
The new operator creates a new instance of a type. In the example below an object is created for the class using the new. Calculate c = new Calculate(); You can also use the new keyword to create an instance of the array. double[] points = new do... Add solution -
Python 2021-09-16 17:43:02
type in python
#This is able to tell the user what the type of an object is string_example = "string" int_example = 1 float_example = 1.1 type_of_string = type(string_example) #<class 'str'> type_of_int = type(int_example) #<class 'int'> type_of_fl... Add solution -
Java 2021-09-09 00:04:02
how to create a constructor in java
A constructor is a special method used to initialize objects in java. we use constructors to initialize all variables in the class when an object is created. As and when an object is created it is initialized automatically with the help of constructor i... Add solution