| Other Core Java Interview Questions |
| |
| Question |
Asked @ |
Answers |
| |
| Name the packages in JDK? |
| 2 |
| What error occurs if a try-catch-finally statement sequence
does not have a catch clause? |
| 4 |
| Hi can u pls tell me what is the use of marker interface.
Iknow what is marker interface but what ability will the
object get by implementing this. |
CGI | 3 |
| Why to give the file name same as the public class name in
java? |
| 3 |
| What is stop(), suspend(), resume() method? |
| 3 |
| what is difference between validation.xml & validation
rules.xml? |
BirlaSoft | 8 |
| What is anonymous class? |
| 2 |
| explain the collection in java |
WDC | 1 |
| What is method Overloading in the perspective of OOPS? |
| 6 |
| 10. class Nav{
11. public enum Direction { NORTH, SOUTH, EAST, WEST }
12. }
13. public class Sprite{
14. // insert code here
15. }
Which code, inserted at line 14, allows the Sprite class to
compile?
a)Direction d = NORTH;
b)Nav.Direction d = NORTH;
c)Direction d = Direction.NORTH;
d)Nav.Direction d = Nav.Direction.NORTH; |
| 2 |
| What is the top class of AWT event hierarchy? |
| 5 |
| What is the use of ?this?? |
| 4 |
| |
| For more Core Java Interview Questions Click Here |