describe method overloading
No Answer is Posted For this Question
Be the First to Post Answer
What is difference between float and double?
What does n mean?
What are controls and their different types in awt?
Explain different ways of creating a thread?
What are the limitations for static method?
waht happens when a return type ,even void is specified for a constructor?
What is boolean flag in java?
How many ways can you break a singleton class 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.
Describe the syntax of multiple inheritance? When do we use such an inheritance?
Define jit compiler?
Can we use both this () and super () in a constructor?