Can we force the garbage collection to run?
No Answer is Posted For this Question
Be the First to Post Answer
what is difference between set and list in collection?
What is java Applet?
What is serialVersionUID and what is its need?
What is method overloading in JAVA? Why is it not present in C ?
0 Answers Akamai Technologies,
How can you take string into InputStream?
diffrence b\w println() and printf()
Is there any way to skip finally block of exception even if some exception occurs in the exception block?
hi to all,i have a question on static block. i saved below as test.java class test extends a { static { System.out.println("test static"); } public static void main(String []dfs) { } } class a { static { System.out.println("a static"); } public static void main(String []asdf) { } } o/p as static test static but if i change base class as test class then class test { static { System.out.println("test static"); } public static void main(String []dfs) { } } class a extends test { static { System.out.println("a static"); } public static void main(String []asdf) { } } o/p test static explain me why "a static" wasn't print in second code when it is in derived class
Difference between JVM and JRE?
When would you use a static class?
What is comparable and comparator interface? List their differences
What is Locale class?