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.  
  19. public class main
  20. {
  21. public static void Main(String[] args)
  22. {
  23. int xy = 22;
  24. Print print = new Print();
  25. print.drucke();
  26. print.drucke("Hello World");
  27. print.drucke(xy);
  28. print.drucke(77);
  29. Console.WriteLine("Hello World");
  30. }
  31. }
Success #stdin #stdout 0.05s 23896KB
stdin
Standard input is empty
stdout
Hello Bulme
Hello World
22
77
Hello World