Category: Core Java

Recursive Methods 0

Recursive Methods

Recursive Methods What is Recursive Function? A recursive function is a function that calls itself during its execution. This enables the function to repeat itself several times, outputting the result and the end of...

Overloading Vs Overriding 0

Overloading Vs Overriding

Overloading vs Overriding A Way of Implementing Polymorphism Overloading Overloading refers to having more than one method with the same name in a class whereas overriding refers to redefining methods of the superclass in...

Java Serialization Vs De-Serialization 0

Java Serialization Vs De-Serialization

Java Serialization Vs De-Serialization The capability of an object to exist beyond the execution of the program that created it is known as persistence To make the file object persistent, the file object has...

What is Serialization and deserialization? 0

What is Serialization and deserialization?

Java Serialization Vs De-Serialization The capability of an object to exist beyond the execution of the program that created it is known as persistence To make the file object persistent, the file object has...

Java Call By Value and Call By Reference 0

Java Call By Value and Call By Reference

Java Call By Value and Call By Reference Pass by value in java means passing a copy of the value to be passed. Pass by reference in java means the passing the address itself....

jvm-memory 0

Java (JVM) Memory Types

Java has only two types of memory when it comes to JVM. Heap memory and Non-heap memory. All the other memory jargons you hear are logical part of either of these two. Heap Memory...

Difference between Abstract Class and Interface 0

Difference between Abstract Class and Interface

difference between Abstract Class and Interface? 1. Main difference is methods of a Java interface are implicitly abstract and cannot have implementations. A Java abstract class can have instance methods that implements a default...

What is a transient variable? 0

What is a transient variable?

Transient variable can’t be serialize. For example if a variable is declared as transient in a Serializable class and the class is written to an ObjectStream, the value of the variable can’t be written...

What are the the new features in J2SE 7 or java 1.7 ? 0

What are the the new features in J2SE 7 or java 1.7 ?

Java SE 7 Download JDK 7 Java 7 (codename Dolphin) is a major update that was launched on July 7, 2011 and was made available for developers on July 28, 2011. The development period...

What are the the new features in J2SE 6 or java 6. 0

What are the the new features in J2SE 6 or java 6.

Java SE 6 Download JDK 6 Codename is Mustang. As of the version released on December 11, 2006, Sun replaced the name “J2SE” with Java SE and dropped the “.0” from the version number....