Advertisement
BlackBoY_

Akses2

Jun 10th, 2021
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //default,public,private,protected
  2. public class Akses2 {
  3.     public static void main(String[] args) {
  4.         Akses1 object1 = new Akses1();
  5.         System.out.println(object1.nama);
  6.         System.out.println(object1.usia);
  7.     }
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement