What is integer parseint?
No Answer is Posted For this Question
Be the First to Post Answer
What is concurrent hashmap and its features?
What are the drawbacks of singleton class?
Why do we need hashset in java?
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
How can u create the Object of class Without using "New" opertor?
Can java cast null?
Can sleep() method causes another thread to sleep?
How to instantiate member inner class?
What is string example?
Every class extends object but why it is not possible for every object to invoke clone() method. ideally protected methods should be accessible from sub classes. isn't it?
Different types of modifiers?
What is difference between static variable and global variable?