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.

B.java 400B

1234567891011121314151617181920212223242526272829
  1. public class B{
  2. public static void main(String args[]) throws Throwable{
  3. B b = new B();
  4. b.method1(null);
  5. b.method2(null,null);
  6. b.method3();
  7. method4();
  8. }
  9. public Object method1(String p1){
  10. return "Hola";
  11. }
  12. public Object method2(String p1, Integer p2) throws Exception{
  13. return "Hola";
  14. }
  15. private void method3(){
  16. return;
  17. }
  18. public static void method4(){
  19. return;
  20. }
  21. }