What is arraylist class in java?
No Answer is Posted For this Question
Be the First to Post Answer
How to compare strings in java?
Is it possible to create Userdefined Unchecked Exception also?If Yes, give an example?
Is java 9 released?
What is the difference between integer parseint and integer valueof?
What is widening and narrowing in java? Discuss with an example.
Write a program to print all permutations of string?
What is a substitution variable?
Can we place the any object to key attribute of HashMap<key,value>?
11. static class A { 12. void process() throws Exception { throw new Exception(); } 13. } 14. static class B extends A { 15. void process() { System.out.println(”B”); } 16. } 17. public static void main(String[] args) { 18. new B().process(); 19. } What is the result? 1 B 2 The code runs with no output. 3 Compilation fails because of an error in line 12. 4 Compilation fails because of an error in line 15.
What is sizeof in java?
What is class and object in java?
What is a parameter in a function?