Category Archives

Comparison of Autoboxed Integer objects in Java

When we assign an integer value to an Integer object, the value is autoboxed into an Integer object. For...

Comparison of Autoboxed Integer objects in Java

When we assign an integer value to an Integer object, the value is autoboxed into an Integer object. For...

Java instanceof and its applications

instanceof is a keyword that is used for checking if a reference variable is containing a given type of...

Java instanceof and its applications

instanceof is a keyword that is used for checking if a reference variable is containing a given type of...

Bitwise right shift operators in Java

In C/C++ there is only one right shift operator ‘>>’ which should be used only for positive integers or...

Bitwise right shift operators in Java

In C/C++ there is only one right shift operator ‘>>’ which should be used only for positive integers or...

new operator in Java

When you are declaring a class in java, you are just creating a new data type. A class provides...

new operator in Java

When you are declaring a class in java, you are just creating a new data type. A class provides...

Bitwise operators in Java

Bitwise operators are used to performing manipulation of individual bits of a number. They can be used with any...

Bitwise operators in Java

Bitwise operators are used to performing manipulation of individual bits of a number. They can be used with any...

Operators in Java

Java provides many types of operators which can be used according to the need. They are classified based on...

Operators in Java

Java provides many types of operators which can be used according to the need. They are classified based on...

Does overloading work with Inheritance?

If we have a function in base class and a function with same name in derived class, can the...

Does overloading work with Inheritance?

If we have a function in base class and a function with same name in derived class, can the...

Object Serialization with Inheritance in Java

Serialization is a mechanism of converting the state of an object into a byte stream. Deserialization is the reverse...

Object Serialization with Inheritance in Java

Serialization is a mechanism of converting the state of an object into a byte stream. Deserialization is the reverse...