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 are the two categories of data types in the java programming language?

0 Answers  


How can we make copy of a java object?

0 Answers  


What does || || mean in math?

0 Answers  


Package1 and Package2 both have a method name lets say "methodA" with different implementation. When I import both the packages in a java class how can I use both the methods?

7 Answers   Ericsson,


how many ways we can serialize the java object?

2 Answers   Satyam,


System.out.println(101/14) what is the output? a)6 b)14 c)7.14 d)0

8 Answers   Accenture,


Difference between doublesummarystatistics, intsummarystatistics and longsummarystatistics ?

0 Answers  


What are the two types of java programming?

0 Answers  


You can create a string object as string str = “abc”; why cant a button object be created as button bt = “abc”;? Explain

0 Answers  


Program to Find the second largest element in an array.

0 Answers   Amazon,


What is data type modifier?

0 Answers  


What is entry set in java?

0 Answers  


Categories