Java
题目描述:
编写程序,显示五次Welcome to Java。
代码:
public class PrintfMessage{
pubulic static void main(String[] args){System.out.println("Welcome to Java");
System.out.println("Welcome to Java");
System.out.println("Welcome to Java");
System.out.println("Welcome to Java");
System.out.println("Welcome to Java");
}
}
Java
题目描述:
编写程序,显示五次Welcome to Java。
代码:
public class PrintfMessage{
pubulic static void main(String[] args){System.out.println("Welcome to Java");
System.out.println("Welcome to Java");
System.out.println("Welcome to Java");
System.out.println("Welcome to Java");
System.out.println("Welcome to Java");
}
}