(显示三条消息)编写程序,显示Welcome to Java、Welcome to Computer Science和Programming is fun。
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package dome1_1;
/**
*
* @author Administrator
*/
public class Dome1_1 {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
System.out.println("Welcome to Java");
System.out.println("Welcome to Computer Science");
System.out.println("Programming is fun");
}
}