Computer Science, asked by ruki4, 9 months ago


Program #1: example program to print Hello Java. step by step​

Answers

Answered by Anonymous
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 Meet7065
0

Answer:

class Hello {

   public static void main(String[] args) {

       System.out.println("Hello, World!");  

   }

}

Similar questions