Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Bot{
- // Variables
- String name;
- Streamer owner;
- // Constructors
- Bot(){
- name = "";
- owner = new Streamer();
- }
- Bot(String name, Streamer owner){
- this.name = name;
- this.owner = owner;
- }
- // Methods
- void showStatus(){
- System.out.println("*********************************");
- System.out.println("Name of bot: " + name);
- System.out.println("Streamer/owner of " + name + ": " + owner.name);
- System.out.println();
- System.out.println("*********************************");
- }
- } // END OF CLASS BOT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement