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 com.hasil.aritmatika;
- /**
- *
- * @author ASUS
- */
- public class Profile {
- public String nama;
- public String kelas;
- public int lahir;
- public int hitungumur;
- public void hitungUmurKu(int thnSekarang,int thnLahir){
- return;
- }
- }
- /*
- Pada line 15 :syntax tipe data yang di gunakan salah seharusnya int.
- Pada line 17 :syntax tipe data yang di gunakan harus int karena menggunkan angka.
- */
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement