How many ways can we create singleton class?
No Answer is Posted For this Question
Be the First to Post Answer
How does a for loop work 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.
Why strings in java are called as immutable?
Matrix multiplication only using OOP concepts .
Which methods are used during serialization and deserialization process?
java program that takes a 3 digit number n and finds out whether the number 2^n + 1 is prime, or if it is not prime find out its factors.
What is Yield() method when we r using this ? tell exactly
Explain about join() method?
What are default methods ?
What is the exact difference in between Unicast and Multicast object? Where will it be used?
what are synchronized methods and synchronized statements? : Java thread
Explain what pure virtual function is?