Core Java Interview questions

Total available count: 646
Subject - Java Technologies
Subsubject - Core Java

What is the visibility of public access modifier?

Public Specifiers achieves the highest level of accessibility. Classes, methods, and fields declared as public can be accessed from any class in the Java program, whether these classes are in the same package or in another package.

Next 5 interview question(s)


What is the visibility of private access modifier?


How many types of access modifiers are available in java, mention them?


What is returned by the method toString() in java?


 Which method is invoked by the garbage collector before object is being garbage collected?


The method finalize() throws which exception?