What does it mean that a class or member is final?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

How can you set an applet’s height and width as a percentage?

0 Answers  


Which class is extended by all other classes?

4 Answers  


What kind of variables can a class consist?

0 Answers  


Can you create an object of an abstract class?

0 Answers  


What exactly is methodology?

0 Answers  






84. try { 85. ResourceConnection con = resourceFactory.getConnection(); 86. Results r = con.query(”GET INFO FROM CUSTOMER”); 87. info = r.getData(); 88. con.close(); 89. } catch (ResourceException re) { 90. errorLog.write(re.getMessage()); 91. } 92. return info; Which is true if a ResourceException is thrown on line 86? 1 Line 92 will not execute. 2 The connection will not be retrieved in line 85. 3 The resource connection will not be closed on line 88. 4 The enclosing method will throw an exception to its caller.

1 Answers  


This is my code i have a doubt class ab implements a,b { public void add() { System.out.println("Hi") } } interface a { public void add(); } interface b { public void add(); } in this code i have two interface implemented in the class has same method.just i want to know which method of interface implemented in the class. interface a or interface b? confused me .

3 Answers  


Can we create a class inside a class in java?

0 Answers  


What is the difference between a method and a procedure?

0 Answers  


What is the difference between throw and throws?

5 Answers   Cap Gemini,


What is the difference in between cpp and java? Can u explain in detail?

0 Answers  


Why java is used everywhere?

0 Answers  


Categories