Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.epam.rd.java.basic.practice1;
- public class Part3 {
- public static void main(String[] args) {
- String space = "";
- for (String arg : args) {
- try {
- System.out.print(space + arg);
- space = " ";
- } catch (NumberFormatException ignored) {
- }
- }
- System.out.println();
- }
- }
Add Comment
Please, Sign In to add comment