Java run-time system generates What class of exceptions?
Answers were Sorted based on User's Feedback
Answer / luckystarjava
JVM checks only un-checked exception. the exception is thown
by exception Class
Is This Answer Correct ? | 1 Yes | 0 No |
Explain different ways of creating a thread?
Under what conditions is an object’s finalize() method invoked by the garbage collector?
Can you declare a private method as static?
What do you mean by of string::valueof expression in java 8?
what is main purpose of abstract class?
How do you include a string in java?
Given: 10. interface A { void x(); } 11. class B implements A { public void x() { } public voidy() { } } 12. class C extends B { public void x() {} } And: 20. java.util.List list = new java.util.ArrayList(); 21. list.add(new B()); 22. list.add(new C()); 23. for (A a:list) { 24. a.x(); 25. a.y();; 26. } What is the result? 1 Compilation fails because of an error in line 25. 2 The code runs with no output. 3 An exception is thrown at runtime. 4 Compilation fails because of an error in line 20.
What is the purpose of stub and skeleton?
What are inbuilt functions?
What are filterstreams?
What is the difference between inheritance and encapsulation?
What is OOP Language?