Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package Blatt04;
- public class Testklasse {
- public static void main(String[] args) {
- PostzentraleNeu info = new PostzentraleNeu();
- Postbot neeuu = new Postbot("Maxi");
- // info.addPostbote("Max", "Postbote");
- // info.addPostbote("Phillip", "ABCD");
- // info.addPostbote("Lars", "Postbot");
- // info.addPostbote("Klaus", "Ansager");
- // info.addPostbote("Michael", "Postbot");
- // neuu.setMessage("Hallo", "");
- neeuu.setMessage("Hallo");
- neeuu.whisper();
- try {
- info.startGame("Hallo wie geht es dir?");
- } catch (NotReadyException e) {
- System.err.println(e);
- } // finally
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement