Reformat the following program according to the programming style and documentation guidelines. Use the end-of-line brace style.

Java Programming Language >   Fundamentals of Object-Oriented Programming >   Compilation and Execution Process  

Short Question

1243


Answer:

public class Test
{
// Main method
public static void main(String[] args) {
/** Display output */
System.out.println("Welcome to Java");
}
}
 public class Test {
  // Main method 
  public static void main(String[] args) {
    /** Display outpput */
    System.out.println("Welcome to Java");
  }
}


This Particular section is dedicated to Question & Answer only. If you want learn more about Java Programming Language. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.