Archive for January, 2010

Nullable Type in C#

Saturday, January 30th, 2010

Nullable type in C# We can declare a variable as nullable when we want to know that a value has been assigned to that variable or not. Declaring a variable as nullable enables the HasValue and Value members. We can use the HasValue property on the variable to check if the value has been assigned [...] Read more »

Different ways of creating object in Java

Thursday, January 14th, 2010

1. Using new keyword This is the most common way to create an object in java.In This we will be using the new operator which will allocates the memory space and initialize the field with default value. Then it executes the code inside the specified constructor which normally re-writes the default values with the value [...] Read more »