Core Java Interview questions

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

What is the visibility of private access modifier?

Private Specifiers achieves the lowest level of accessibility.private methods and fields can only be accessed within the same class to which the methods and fields belong.Private methods and fields are not visible within subclasses and are not inherited by subclasses.

Next 5 interview question(s)


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?


The method clone() throws which exception?