Category Results  

String

String is a data type that can hold texts. String is reference type variable. But when you pass a string to a variable or a method, it does not reference variable. Because string is immutable reference type. That means you cannot change string after it is created. Every change to a string will create a […]

Read More
Reference TypePredefined TypeData Types

Object

Object  is a data type that can hold properties without explicitly defining a type like class. Object is reference type variable. So when you pass an object to a variable or a method, it references variable. This means when you change copied variable, it will change the main variable too. Or changing main variable will […]

Read More
Reference TypePredefined TypeData Types

Interface

Interface is a data type that can hold properties and functionalities. Interface is reference type variable. So when you pass an interface to a variable or a method, it references variable. This means when you change copied variable, it will change the main variable too. Or changing main variable will change the copied variable.   […]

Read More
Reference TypeUser-defined TypeData Types

Class

Class is a data type that can hold properties and functionalities. Class is reference type variable. So when you pass a class to a variable or a method, it references variable. This means when you change copied variable, it will change the main variable too. Or changing main variable will change the copied variable.   […]

Read More
Reference TypeUser-defined TypeData Types