What is a package in java? List down various advantages of packages.
No Answer is Posted For this Question
Be the First to Post Answer
Write a java program for binary search?
what is the difference between String s="hello"; and String s=new String("hello");?
When is the arraystoreexception thrown?
Why we need to serialize the object
11 Answers CTS, Geometric Software,
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.
why the equals method can be override?when we override the equals method?
basic difference b/w ALL types of JDBC driver.
What is Map interface?
Similarity and difference between static block and static method ?
What are Advatages of Overloading and Overridding.
I want to print “hello” even before main is executed. How will you acheive that?
What is stringbuffer in java?