Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*write a program that displays Welcome to Java five times*/
- public class code1_2 {
- public static void main(String[] args) {
- String box_1 = new String("Welcome to Java, ");
- System.out.println(box_1 + box_1 + box_1 + box_1 + box_1);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement