Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Beispiel{
- public Beispiel(){
- ueberladeneMethode("J");
- ueberladeneMethode("V");
- ueberladeneMethode(0,"A");
- ueberladeneMethode("1");
- }
- public void ueberladeneMethode(int a){
- a = a * 9;
- System.out.print(a);
- }
- public void ueberladeneMethode(String a){
- System.out.print(a);
- }
- public void ueberladeneMethode(int a, String b){
- System.out.print(b);
- System.out.print(a);
- }
- public static void main(String[] args){
- new Beispiel();
- }
- }
Add Comment
Please, Sign In to add comment