Which java collection does not allow null?
No Answer is Posted For this Question
Be the First to Post Answer
can we declare private class in java file?
What is the difference between integer parseint and integer valueof?
What is the final access modifier in java?
Differentiate between stringbuffer and string?
Difference between Superclass and Subclass?
Is it possible to specify multiple jndi names when deploying an ejb?
Which is better stringbuilder or stringbuffer?
Is java code slower than native code?
Write a program to reverse array in place?
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
Define inheritance?
Is it possible for a yielded thread to get chance for its execution again?