Advertisement
AlphaPenguino

OOP_main1 test1

Mar 9th, 2023 (edited)
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.88 KB | None | 0 0
  1. public class Main {
  2.    
  3.     public static void main(String[] args) {
  4.        
  5.         Jollibee nosneg = new Jollibee();
  6.        
  7.         System.out.println(nosneg.menu);
  8.        
  9.         nosneg.magkwento();
  10.        
  11.         Traits User1 = new Traits("", "taurus", 18, "intp");
  12.         Traits User2 = new Traits("", "pisces", 69, "entj");
  13.          Traits User3 = new Traits("", "virgo", 18, "intj");
  14.         System.out.println(User1.mbti + "\n" + User1.zodiac);
  15.        
  16.         User1.natutulog();
  17.        
  18.         User1.ilangtaon();
  19.         System.out.println("");
  20.         User2.ilangtaon();
  21.         System.out.println("");
  22.         User1.personality();
  23.         User2.personality();
  24.         System.out.println("");
  25.         User1.showAll();
  26.         System.out.println("");
  27.         User2.showAll();
  28.         System.out.println("");
  29.         User3.showAll();
  30.     }
  31.    
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement