Can we write a class without main method in java?


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

Post New Answer

More Core Java Interview Questions

What modifiers may be used with a top-level class?

0 Answers  


What does nextint () do in java?

0 Answers  


What is a nullable field?

0 Answers  


Which is better list or arraylist in java?

0 Answers  


How do you pass by reference?

0 Answers  






Can we catch more than one exception in single catch block?

0 Answers  


Why charat is used in java?

0 Answers  


What is private public protected in java?

0 Answers  


Hi Friends, I am beginner in java. what i know about synchonized keyword is,If more that one 1 thread tries to access a particular resource we can lock the method using synchronized keyword. Then after that how the lock is released and how next thread access that.Please explain with example.

5 Answers  


there are N number of matchboxes numbered 1...N.each matchbox contain various number of stick.Two player can alternatevely pick some amount of stick from the higest stick containing box . The player is condidered win if there is no stick after his move.Find the final move so that the move player win. Note:In case the number of stick is equal ,pick the stick from the higest numbered box.

0 Answers   Manhattan,


What is unicode?

1 Answers  


Explain about the security aspect of java?

0 Answers  


Categories