You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1234567891011121314 |
-
- public class MainWriter {
- public static void main(String[] args) {
- if (args.length > 0) {
- if ("err".equals(args[0])) {
- System.err.println("System.err");
- } else if ("out".equals(args[0])) {
- System.out.println("System.out");
- } else if ("Error".equals(args[0])) {
- throw new Error();
- }
- }
- }
- }
|