What is an array length?
No Answer is Posted For this Question
Be the First to Post Answer
What is a void return type?
Name few java 8 annotations ?
What is array pointers ?
What is the difference between form & report?
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
How many types of gc are there in java?
System.out.println(101/14) what is the output? a)6 b)14 c)7.14 d)0
write a simple program inheritance?
What is use of set in java?
what is the difference between yielding and sleeping? : Java thread
What are java annotations?
Write a java program for binary search?