BlackBoY_

Main

Jun 16th, 2021 (edited)
295
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package PouerRenjer;
  2.  
  3. public class Main {
  4.     public static void main(String[] args) {
  5.         RedRangers RedPower = new RedRangers();
  6.         System.out.println("Nama      : "+RedPower.color+" "+RedPower.status);
  7.         System.out.print(  "Berubah   : WITH THE POWER OF TIGER "); RedPower.berubah();
  8.         System.out.println(" Red Rangers");
  9.         System.out.print(  "Elemen    : ");RedPower.redpower();
  10.         System.out.print(  "Bergabung : "); RedPower.bergabung();
  11.        
  12.         System.out.println("");
  13.        
  14.         GreenRangers GreenPower = new GreenRangers();
  15.         System.out.println("Nama      : "+GreenPower.color+" "+GreenPower.status);
  16.         System.out.print(  "Berubah   : WITH THE POWER OF ELEPHANT "); GreenPower.berubah();
  17.         System.out.println(" Green Rangers");
  18.         System.out.print(  "Elemen    : ");GreenPower.greenpower();
  19.         System.out.print(  "Bergabung : "); GreenPower.bergabung();
  20.        
  21.         System.out.println("");
  22.        
  23.         BlueRangers BluePower = new BlueRangers();
  24.         System.out.println("Nama      : "+BluePower.color+" "+BluePower.status);
  25.         System.out.print(  "Berubah   : WITH THE POWER OF SHARK "); BluePower.berubah();
  26.         System.out.println(" Blue Rangers");
  27.         System.out.print(  "Elemen    : ");BluePower.bluepower();
  28.         System.out.print(  "Bergabung : "); BluePower.bergabung();
  29.     }
  30. }
  31.  
Add Comment
Please, Sign In to add comment