What is getkey () 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
What is the purpose of assert keyword used in jdk1.4.x?
Why declare Main() inside the class in java ?
How do I find and replace in word?
Why java is object oriented?
Which are thin and thicK wrapper Class's in Java?
If a variable is declared as private, where may the variable be accessed?
What is Remote Interface ?
How to retrieve data from database in java using arraylist?
What is a singleton factory?
Which Component subclass is used for drawing and painting?
Why pass by reference is not possible in java?