Define immutable object?
No Answer is Posted For this Question
Be the First to Post Answer
What is cloneable interface?
What are inbuilt functions?
What is a linkedhashmap java?
What is the collections api in java programming?
Name few java.lang classes introduced with java 8 ?
What is collection class in java? List down its methods and interfaces.
Explain aggregation in java?
what models are available for event handling?
difference between vectorlist and hash
How do I compare two strings in word 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.
These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }