fork download
  1. using System;
  2.  
  3. class Print
  4.  
  5. {
  6. public void drucke()
  7. {
  8. //System.out.println("Hello Bulme");
  9. Console.WriteLine("Hello Bulme");
  10. }
  11. public void drucke(String str)
  12. {
  13. Console.WriteLine(str);
  14. }
  15. public void drucke(int zahl)
  16. {
  17. Console.WriteLine(zahl);
  18. }
  19. }
  20.  
  21. public class main
  22. {
  23. public static void Main(String[] args)
  24. {
  25. int xy = 22;
  26. Print print = new Print();
  27. print.drucke();
  28. print.drucke("Hello World");
  29. print.drucke(xy);
  30. print.drucke(77);
  31. int zahl;
  32. }
  33. }
Success #stdin #stdout 0.04s 23896KB
stdin
Standard input is empty
stdout
Hello Bulme
Hello World
22
77