write a program in Java to display the message all the best
Answers
Answered by
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
3
★
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
★
❖ 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.
Similar questions