I want to print “hello” even before main is executed. How will you acheive that?


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

Post New Answer

More Core Java Interview Questions

What is thread count in java?

0 Answers  


What is the default size of arraylist in java?

0 Answers  


What is JAVA? Why it is platform independent?

10 Answers   NIIT,


Explain the difference between serializable and externalizable in java?

0 Answers  


What are null interfaces? Give some examples?

2 Answers  






Explain your academic project?

2 Answers   Accenture, Levonsys, SDF, TCS, Tech Mahindra,


When do you create an index?

0 Answers  


What is a singleton factory?

0 Answers  


What is void data type?

0 Answers  


What does the three dot emoji mean?

0 Answers  


when,where and how to use abstract class and interface

2 Answers  


Is there is any error if you have multiple main methods in the same class?

10 Answers   Infosys, Wipro,


Categories