What will happen if static modifier is removed from the signature of the main method?


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

Post New Answer

More Core Java Interview Questions

Can we add two byte variables and assign the result to a byte variable ? b=b1+b2 where b,b1,b2 are byte types

4 Answers   TCS,


Does treeset use compareto?

0 Answers  


According to java operator precedence, which operator is considered to be with highest precedence?

0 Answers  


When should the method invokelater() be used?

0 Answers  


How does thread synchronization occurs inside a monitor? What levels of synchronization can you apply?

0 Answers  






What is lambda in java?

0 Answers  


Write a program to check string is palindrome without using loop?

0 Answers   Cyient,


What are the different types of inner classes?

0 Answers  


What is meant by wrapper classes?

3 Answers  


Why we used break and continue statement in java?

0 Answers  


What is the difference between normal report & matrix report?

0 Answers  


What is the preferred size of a component in java programming?

0 Answers  


Categories