Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Emily Diaz   on Jul 14 In Java Category.

  
Question Answered By: Kelly Bell   on Jul 14

U r having an error in ur program...

Write :

public static  void main( String args[])
{
...
}

instead of
----------------------------
class Temp

{

-----> public static void  main(String[] args)

{

System.out.println("hi its Temp class");
}

}

Share: 

 

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

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


Tagged: