trizehn

RunningText

Oct 21st, 2020
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.11 KB | None | 0 0
  1.  
  2. /**
  3.  * Write a description of class RunningText here.
  4.  *
  5.  * @author Daffa Tristan Firdaus
  6.  * @version 22 Oktober 2020
  7.  */
  8. public class RunningText
  9. {
  10.     private String imsak, shubuh, dzuhur, ashar, maghrib, isya, blank;
  11.     public RunningText()
  12.     {
  13.         this.imsak = "Sekarang Memasuki Waktu Imsak";
  14.         this.shubuh = "Sekarang Memasuki Waktu Shubuh";
  15.         this.dzuhur = "Sekarang Memasuki Waktu Dzuhur";
  16.         this.ashar = "Sekarang Memasuki Waktu Ashar";
  17.         this.maghrib = "Sekarang Memasuki Waktu Maghrib";
  18.         this.isya = "Sekarang Memasuki Waktu Isya'";
  19.         this.blank = "Perbanyak Do'a dan Dzikir Kepada Allah SWT";
  20.     }
  21.     public String imsak()
  22.     {
  23.         return imsak;
  24.     }
  25.     public String shubuh()
  26.     {
  27.         return shubuh;
  28.     }
  29.     public String dzuhur()
  30.     {
  31.         return dzuhur;
  32.     }
  33.     public String ashar()
  34.     {
  35.         return ashar;
  36.     }
  37.     public String maghrib()
  38.     {
  39.         return maghrib;
  40.     }
  41.     public String isya()
  42.     {
  43.         return isya;
  44.     }
  45.     public String blank()
  46.     {
  47.         return blank;
  48.     }
  49. }
  50.  
Advertisement
Add Comment
Please, Sign In to add comment