How big is a pointer?
No Answer is Posted For this Question
Be the First to Post Answer
How variables are stored in memory?
What is the byte range?
please tell me what is wrapper class in java with example ?
How to create a base64 decoder in java8?
What are assembly attributes?
What is a treemap in java?
What is difference between word and integer?
What are the states of thread in java?
How many bytes is a character?
What is the function of compareto in java?
What is the best way to findout the time/memory consuming process?
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