Can we make main() thread as daemon?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

What does next mean in java?

0 Answers  


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

1 Answers  


Is arraylist sorted in java?

0 Answers  


What is binary search in java?

0 Answers  


hi to all. well can you please tell me that why String class is immutable? Thanks in advance.

5 Answers   Huawei,






What is an abstract class?

8 Answers   DBS, Wipro,


What is immutability in java?

0 Answers  


What is jpa specification?

0 Answers  


What interface is extended by awt event listeners?

0 Answers  


What is a function easy definition?

0 Answers  


What is fail first in java?

0 Answers  


what is prepare statement? what is calabedtarement?

1 Answers   Symphony,


Categories