Which is fastest collection in java?
No Answer is Posted For this Question
Be the First to Post Answer
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
Is there a way to increase the size of an array after its declaration?
What is difference between iterator and enumeration in java?
Explain treeset?
What is the generic function?
how we can write the string concatenation program in java.
What are loops in java?
What are Advatages of Overloading and Overridding.
What are access specifiers available in java?
What is the final keyword denotes?
What is a java list?
What is difference between java and java ee?