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