What is the difference between instanceof and isinstance?
No Answer is Posted For this Question
Be the First to Post Answer
What is a super class and how super class be called?
What about static nested classes in java?
What are mutable classes?
Is it possible to override private or static method in java?
what is Inheritense
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 a string literal?
Explain how can you debug the Java code?
What is the difference between logical data independence and physical data independence?
What happens if we override private method?
What is Hierarchy of exception?
Is passing by reference faster?