What is file in java?
No Answer is Posted For this Question
Be the First to Post Answer
Why java is made?
What are the differences between graph and tree?
What is multithreading ???? How to stop multithrading in java????
What is preflight request?
In java, how many ways you can take input from the console?
How do you remove duplicates in java?
Difference between hashCode() & equals()?
What is the Concept of Encapsulation in OOPS
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 is the difference between stringbuffer and stringbuilder class?
How many return statement are allowed in a function?
Is object a data type?