0
hello world
i am new for java.. when i compile hello world program.. it shows error., but i copied the program shown in the theory.then, how can i correct it.
9 Antworten
+ 2
you do Javac program.java to create class file. then type Java program to run it
0
what error it is showing??
0
')' expected.
in public static void main(string[] args)
0
public class Program
{
public static void main(String[] args) {
System .out.println ("Be Placid In Life");
}
}
0
like this copy ur program then paste it..
Then i will be able to solve ur problem
0
when i compile.. it shows me the same command."javac program.java".(just i named it program). it doesn't show any output.
0
just copy and paste the whole code here??
0
it created a class file..in my directory. then..what is it means?
0
thanks..bro