How to instantiate member inner class?
No Answer is Posted For this Question
Be the First to Post Answer
How many bits is a 64 bit byte?
all are saying java doesn't support multiple inheritance but by default Object class is super class for all the user defined classes and we can extend atmost one class so each class can extend more than one class so java supports multiple inheritance?i am confused with this,pls any one explain me.
Explain the difference between protected and default access.
Can we have this () and super () together?
java program with complete 4 oops concepts implemented example
What is the difference between the >> and >>> operators?
Mention the default values of all the elements of an array defined as an instance variable.
What is the simpletimezone class in java programming?
What modifiers are used with an inner class which is a member of an outerclass?
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 are the different data types in java?
What is java util concurrentmodificationexception?