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.

MultiArgHelloWorld.java 575B

12345678910111213141516171819202122
  1. /* Copyright (c) 2002 Contributors.
  2. *
  3. * This program and the accompanying materials are made available
  4. * under the terms of the Common Public License v1.0
  5. * which accompanies this distribution and is available at
  6. * http://www.eclipse.org/legal/cpl-v10.html
  7. *
  8. * Contributors:
  9. * PARC initial implementation
  10. */
  11. package org.aspectj.weaver.test;
  12. public class MultiArgHelloWorld {
  13. public static void main(String[] args) {
  14. foo("Hello", "World");
  15. }
  16. static void foo(Object s, Object t) {
  17. System.out.println(s + " " + t);
  18. }
  19. }