Computer Science, asked by shraddha0608, 1 year ago

wap to print "java is better than c++".​

Answers

Answered by ayushkr004
2

import java.io.*;

public class answer

{

public static void main (String args[])

{

System.out.println("java is better than c++");

}

}

Answered by duragpalsingh
3

Hey there!

The program is as follows:

class JavaC

{

public static void main(String args[])

{

System.out.println("Java is  better than C++");

}

}

Hope it Helps You!

Similar questions