hi,my name is dayo.i am new to java programming i am bout to write my first program which i copied from a textbook i am reading.
// A program to display the message
// "Hello World!" on standard output
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World!");
}
} // end of class HelloWorld
but the compiler is giving an error system.out.print class.the compiler made a suggestion 1 should be a package class before it can be used by the compiler.pls i do i go about it.thank you.
1
Expert's answer
2012-04-03T11:06:39-0400
public class Main {
public static void main(String[] args) { System.out.println("Hello World!"); }
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment