

Quote:
quote:Those weren't quotes, I'm not sure what those were. You also need two closing brackets. Here:
public class OurFirstProgram
{
public static void main(String[] args)
{
System.out.println("this is my first program !");
}
}
|
sorry but where do the brackets go ???
to explain further...
I purchased a copy of java 2 beginning by Ivor Horton and on page28 i copied his 1st sample program. as below (without my comments).
Code:
public class OurFirstProgram
{
public static void main(String[] args)
{
System.out.println(¨this is my first program !¨);
}
}
the errors are about the quotation marks and tried to see if i could solve this my tring no quotes or single quotes. hense the second question (maybe not so clearly written) which is ...
because i installed netbeans ide and even tried it under that enviroment (and getting the simlar errors) I wanted to know if i should install the proper SDK rpm (running Mandrakelinux which is the compiled install program).