Program #1: example program to print Hello Java. step by step
Answers
Answered by
2
Code in Turbo C++:-
#include<iostream.h>
void main( )
{
cout<<"Hello world!";
}
Code in Java:-
class HelloWorld
{
public static void main(String[] args)
{
System.out.println("Hello, World!");
}
}
Answered by
0
Answer:
class Hello {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
Similar questions