Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.company;
- public class Person {
- String Name;
- public Person(
- String Name) {
- this.Name = Name;
- }
- public void sagHallo() {
- System.out.println ("Hallo, ich bin " + this.Name );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement