Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
- package pertemuan;
- /**
- *
- * @author LK09NU17UTY
- */
- public class Pertemuan {
- /**
- * @param args the command line arguments
- */
- public static void main(String[] args) {
- Manusia man1 = new Manusia();
- man1.nama="santi";
- Manusia man2 = new Manusia();
- man2.nama="Agus";
- System.out.println("nama "+man1.nama);
- System.out.println("nama "+man2.nama);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement