Why is singleton class used?
No Answer is Posted For this Question
Be the First to Post Answer
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.
Define Multiprogramming and Multiprocessing in java.
0 Answers Akamai Technologies,
how do you store phone numbers using java collections
What do you mean by buffering?
What will be the default values of all the elements of an array defined as an instance variable?
What is a Presistent Object?
0 Answers InfoAxon Technologies,
what is meant by multicast?
What are the library functions in java?
What language is java written?
How does serialization work
What does 0 mean in boolean?
How Vector class is synchronized,How to build user defined class as synchronized?