What is composition in java?
No Answer is Posted For this Question
Be the First to Post Answer
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 the final class modifier?
What differences exist between iterator and listiterator?
Why are global variables used?
How do you override a method?
Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?
What are controls and their different types in awt?
When the constructor of a class is invoked?
Which is a valid identifier?
which of tha following is not a thread safe class? a) ArrayList b)Vector c)HashTable d)None
What is the purpose of a parameter?
What is the r character?