Core Java Interview questions


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

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

Four types of access modifiers are available in java i.e,default,public,protected,private.




Next 5 interview question(s)

1

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

2

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

3

The method finalize() throws which exception?

4

The method clone() throws which exception?

5

What is downcasting in java?