What is meant by collection in java?
No Answer is Posted For this Question
Be the First to Post Answer
write a program that list all permutations of ABCDEF in which A appears before B?
Why string is called as immutable?
What is static keyword in java?
Difference between nested and inner classes ?
Which package is used for pattern matching with regular expressions?
How does synchronized modifier work?
What is the epoch date?
what is difference between String buffer and String builder?
Where are variables stored?
What is scope & storage allocation of static, local and register variables? Explain with an example.
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.
Difference between stack and queue?