-
Serialization
Serialization ignores static variable and transient variables. Why?
-
To what value is a variable of the String type automatically initialized
The default value of an String type is null.
-
Compiler Unit and Executable Unit
What is Compiler Unit and Executable Unit?
-
-
-
Run Time Exceptions
What do exception mean in java ? what type of run time exceptions?
-
Reference Variable Size
What is the size of reference variable?
-
Does garbage collection guarantee that a program will not run out of memory
Garbage collection does not guarantee that a program will not run out of memory. It ispossible for programs to use up memory resources faster than they are garbage collected.It is also possible for programs to create objects that are not subject to garbage collection
-
-
-
-
Multiple Inheritance
Why multiple inheritance is not applied in Java?
-
Collection SynchronisedList
What is SynchronisedList in Collection?
-
Event Adapters
What are event adapters & How they are used?
-
Inheritance
What are the different types of inheritance available in Java?
-
Java Virtual Functions
How to achieve Virtual Functions in Java?
-
Volatile Variable
Why a shared variable in Java can be marked as volatile? Give Reason
-
Interface
How do we use interface to overcome multi-level inheritance?
-
Stacktrace
What is "stacktrace" in Java? How can we use this?
-
Memory Allocation Methods
What are some Methods for allocating memory for an array?
Java Interview Questions
Ans