What are the different types of data structures in java?
No Answer is Posted For this Question
Be the First to Post Answer
What is array and arraylist in java?
What is entry set in java?
Explain access modifiers in java.
Can a constructor have different name than a class name in java?
Why are functions called methods in java?
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 the file extension for java?
what is default constructor and parameterised constructor with example?
how can i take the inputs from users in java program?
Are arrays dynamic in java?
Is main an identifier?
When is the garbage collection used in Java?