Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Jose Hughes   on Apr 21 In Java Category.

  
Question Answered By: Lily Brown   on Apr 21

TO run  java class, the main  function must be there.

Add following method to your class

public static void  main (Sting args[]) {
// code  to be executed when this class  runs
}

Share: 

 

This Question has 4 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on NoSuchMethodError Or get search suggestion and latest updates.