Computer Science, asked by dhanashekar904, 4 months ago

Write a Java program to print “Java is an Object-Oriented Programming language”​

Answers

Answered by akashrbllps
1

Answer:

class JAVA

{

   // Your program begins with a call to main().

   // Prints "Hello, World" to the terminal window.

   public static void main(String args[])

   {

       System.out.println("Java is an Object-Oriented Programming        language");

   }

}

Explanation:

Answered by purveshKolhe
2

\huge{\red{\overbrace{\underbrace{\mathfrak{\purple{answer::}}}}}}

public class Main {

  public static void main(String [] args) {

     System.out.println("Java is an Object-Oriented Programming language");

  }

}

\underline{\blue{\mathfrak{Logic-}}}

  • Line 1 - Declares class name as "Main".
  • Line 2 - Main method which is required for almost every valid java program.
  • Line 3 - Printed the given text.

Hope it helps...

Similar questions