Computer Science, asked by VIVAANSINGHBISHT, 5 months ago

write a program in Java to display the message all the best​

Answers

Answered by shakshitomar
0

Answer:

the person who is cyan enterprise an artisan bread to send you an email from your number and email id bana ke baad ye to send me the details of the fkh

Answered by purveshKolhe
3

\bf{\underline{Answer::}}

public class Main { // Line 1

   public static void main(String [] args) { // Line 2

       System.out.println("All the best!"); // Line 3

   } // Line 4

} // Line 5

\rule{300pt}{0.2em}

\bf{\underline{Explanation::}}

Line 1: Class is declared as public and its name Main.

Line 2: Main method, required in every functional program.

Line 3: We print the text using an in-built method, System.out.println() which is used to print.

Line 4: End of main method.

Line 5: End of class and program.

\rule{300pt}{0.2em}

Similar questions