How an object is serialized in java?
No Answer is Posted For this Question
Be the First to Post Answer
What is the new line character?
What is difference between null and void?
what is the use of clone method? why user cant overwrite in sub class without its proper defination.
What is ‘is-a ‘ relationship in java?
What problems will occur when you don?t use layout managers?
What exactly is methodology?
What do you understand by the term string pool?
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
Why heap memory is called heap?
Can we store variables in local blocks?
how can you catch multiple exceptions in java?
How 'java' got its name and what it stands for?