what is interface in java? Explain


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

Post New Answer

More Core Java Interview Questions

what is use of business objects?

3 Answers   Tech Mahindra,


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  


Is empty .java file name a valid source file name?

0 Answers  


What is difference between path and classpath?

0 Answers  


did interface can implementation method ? i know its not possible but my interviewer said its possible ..but how..? any one have idea ???

7 Answers   IBM,






all are saying java doesn't support multiple inheritance but by default Object class is super class for all the user defined classes and we can extend atmost one class so each class can extend more than one class so java supports multiple inheritance?i am confused with this,pls any one explain me.

4 Answers  


What is a subsequence of a string?

0 Answers  


What are the three parts of a lambda expression? What is the type of lambda expression?

0 Answers  


What is yield () in java?

0 Answers  


Explain about method local inner classes or local inner classes in java?

0 Answers  


Define jre i.e. Java runtime environment?

0 Answers  


what do you understand by synchronization? : Java thread

0 Answers  


Categories