Without main Method

How can we use method without using main method in JAVA?

  
Showing Answers 1 - 9 of 9 Answers

Smitha Angadi

  • May 11th, 2018
 

Using block method.

  Was this answer useful?  Yes

rk

  • Aug 9th, 2018
 

Using Static Method

  Was this answer useful?  Yes

Aniket

  • May 26th, 2022
 

Create a class and Create a method

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions