daily pastebin goal
2%
SHARE
TWEET

Untitled

a guest Nov 19th, 2017 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package id.griko;
  2.  
  3. public class Angka extends AngkaParent {
  4.  
  5.     private final int value;
  6.  
  7.     Angka(int value) {
  8.         this.value = value;
  9.     }
  10.  
  11.     @Override
  12.     public String getInfo() {
  13.         return super.getInfo() + String.valueOf(this.value);
  14.     }
  15.  
  16.     int getValue() {
  17.         return this.value;
  18.     }
  19.  
  20. }
RAW Paste Data
Top