Advertisement
Guest User

Untitled

a guest
Sep 27th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. /*
  2. * To change this license header, choose License Headers in Project Properties.
  3. * To change this template file, choose Tools | Templates
  4. * and open the template in the editor.
  5. */
  6. package com.hasil.aritmatika;
  7.  
  8. /**
  9. *
  10. * @author ASUS
  11. */
  12. public class Profile {
  13. public String nama;
  14. public String kelas;
  15. public int lahir;
  16. public int hitungumur;
  17.  
  18. public void hitungUmurKu(int thnSekarang,int thnLahir){
  19.  
  20. return;
  21.  
  22. }
  23. }
  24. /*
  25. Pada line 15 :syntax tipe data yang di gunakan salah seharusnya int.
  26.  
  27. Pada line 17 :syntax tipe data yang di gunakan harus int karena menggunkan angka.
  28. */
  29.  
  30. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement