Associate
- Joined
- 8 Jan 2009
- Posts
- 1,492
- Location
- Northern Ireland
This piece I wrote here comes up with errors to the InOut.print etc. I use Eclipse, and I have also used Net Beans 6.7.1, I have tried to use System.out, but again when I go to compile, I get errors with System.out. Anybody any ideas. Thanks
public class Welcome3{
// no comments
public static void main(String args[]){
InOut.print ("Welcome to");
// note only a print
InOut.println("the University of Ulster.");
InOut.println();
InOut.print("This is used ");
//note space after the word used (previous line)
InOut.println("to show the impact");
InOut.println();
InOut.println("of a println statement.");
}//main
}//Welcome3
public class Welcome3{
// no comments
public static void main(String args[]){
InOut.print ("Welcome to");
// note only a print
InOut.println("the University of Ulster.");
InOut.println();
InOut.print("This is used ");
//note space after the word used (previous line)
InOut.println("to show the impact");
InOut.println();
InOut.println("of a println statement.");
}//main
}//Welcome3