What are the names of interfaces that doesn't consists of
method/s ?
Answers were Sorted based on User's Feedback
Answer / priyavarzhni
Cloneable interface
Serializable interface
these are called marker interface.
Interface without any method is called Marker or Null
Interface
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / bullbull
How it is possible without the methods? How it works?
| Is This Answer Correct ? | 0 Yes | 1 No |
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.
What does method mean?
What is singleton class example?
Discuss 2D arrays.
What is deadlock and how to avoid this?
What are exception handling keywords in java?
What is a key in java?
What is Exception handling in Java How do you handle run time errors please explain with an example
Why is boolean important?
how and when compiler knows that the Java code throws the checked Exception.
What are Transient and Volatile Modifiers?
3 Answers SAP Labs, TUP Manila,
How do you achieve polymorphism in java?