Name the packages in JDK?
Answers were Sorted based on User's Feedback
Answer / ravikiran(aptech mumbai)
java.lang
java.util
java.net
java.io
java.awt
java.sql
| Is This Answer Correct ? | 3 Yes | 1 No |
I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?
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.
How to sort list of list in java?
whats the purposr of using serialization?
How to access a method that it declared as protected?
watz the difference between abstract class and interface? Which one u ill choose as a designer?
How to create two different thread class inside a main function?
What is the access scope of protected access specifier?
Assume a thread has lock on it, calling sleep() method on that thread will release the lock?
What is passing value java?
when asub class inherits a super class and overrides a public method of super class in sub class(public method in super class). why these methods needs to be public in sub class. (otherwise compile time error).
How big is a gigabyte?