how come we know the object is no more used in the class?
Answers were Sorted based on User's Feedback
Explain about abstract classes in java?
What is the purpose of the File class?
What is method overloading and method overriding?
Does set allows null in java?
Given: 11. public static void main(String[] args) { 12. Integer i = uew Integer(1) + new Integer(2); 13. switch(i) { 14. case 3: System.out.println(”three”); break; 15. default: System.out.println(”other”); break; 16. } 17. } ‘What is the result? 1 three 2 other 3 An exception is thrown at runtime. 4 Compilation fails because of an error on line 12.
What is a native method in java programming?
What is difference between local variable and global variable?
What are the methods used to implement for the key object in the hash map?
What is type safety in java?
Why is java logo a cup of coffee?
What is the purpose of the finally clause?
These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }