What is the replace tool?
No Answer is Posted For this Question
Be the First to Post Answer
What is an interface in java?
hr interview how many minutes asking question
there are some duplicate values in ArrayList, how U'll get that array with out duplicate?
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.
How many times garbage collector will invoke an object?s finalize() method?
what is the output??????? public class multireturn { public(int assign x ( int x) { if(4==x) { return 7; } else if (7=x+3) { return 6; } return 5; } }
What are keywords in programming?
Give any two differences between C++ and java.
What happens if an exception is not handled in a program?
what is unreachable code problem in multiple catch statements
How we can generate random numbers in java?
What is a methodologist?