Bookmark Topic Watch Topic
  • New Topic

silly error. please help  RSS feed

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Report post to moderator
class number
{
//int a,b,c,big;
int a=10;
int b=20;
int c=30;
int big;
big=a;
// System.out.println(big);
if(b>big)
{
System.out.println("b ");}
else if(c>big)
{ System.out.println("c ");}
else
{ System.out.println("a "); }
public static void main(String[] args)
{
number n = new number();
System.out.println("Hello World!");
}
}
 
author & internet detective
Marshal
Posts: 37518
554
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please don't cross-post the same question multiple times.
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!