Core Java Interview questions


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

Can you give example for Exception in java?

"NullPointerException" occurs when an application tries to access null object, "ClassCastException" occurs when an application tries to cast incompatible class types ,SQLException,IOException,DataBase not connected.Network Connection lost.etc

 




Next 5 interview question(s)

1

 Can you give example for Error in java?

2

 What do you know about Exception in java?

3

 What do you know about Error in java?

4

Is Error and Exception is same or different in java?

5

Can we override private methods in java?