Core Java Interview Questions
Questions Answers Views Company eMail

Which keyword specify that a variable is effectively final ?

751

Which access specifier can be used with class ?

697

How can we run a java program without making any object?

737

What will happen if there is a default method conflict as mentioned above and we have specified the same signature method in the base class instead of overriding in the existing class ?

710

Explain about anonymous inner classes ?

779

What one should take care of, while serializing the object?

654

When do you get classcastexception?

758

Explain method local inner classes ?

771

Difference between object instantiation and construction ?

800

Difference between this() and super() ?

752

What are different ways of object creation in java ?

752

How can we create objects if we make the constructor private ?

730

What is a final class ?

798

Explain inner classes ?

863

Can static method access instance variables ?

804


Post New Core Java Questions

Un-Answered Questions { Core Java }

What is a char in java?

725


Is there any difference between synchronized methods and synchronized statements?

781


What is args length in java?

896


What is the file type?

775


String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?

734


What is the synonym of string?

762


What is collection class in java? List down its methods and interfaces.

707


In a program, initializing an array of 100 KB is throwing an out of memory exception while there is 100 MB of memory available. Why?

752


What is finalize()?

858


What is the statements?

789


What is a constructor, constructor overloading in java?

730


What are the difference between string, string builder, and string buffer in java?

798


Why do we need hashset in java?

699


Is string serializable in java?

730


What kind of variables a class can consist of?

825