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