is there a separate stack for each thread in java? : Java thread
No Answer is Posted For this Question
Be the First to Post Answer
Is integer immutable in java?
How to reverse a string in java?
Can an interface be final?
Why does java have two ways to create child threads? Which way is better?
What is meant by data hiding/encapsulation?
What is run time allocation?
How will you compute size of a structure?
what is Abstract DataType?
Write a program to find maximum and minimum number in array?
How we can generate random numbers in java?
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 does a boolean method return?