Advertisement
Guest User

Untitled

a guest
Nov 14th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.48 KB | None | 0 0
  1. import java.util.Scanner;
  2.  
  3. public class HocVienTHQL extends HocVien {
  4.  
  5.     final int hocPhi1TinChi= 105000;
  6.     @Override
  7.     public void nhapThongTin(){
  8.         Scanner sc=new Scanner(System.in);
  9.         super.nhapThongTin();
  10.         setTienHocPhi()= hocPhi1TinChi*getTongSoTinChi();
  11.  
  12.     }
  13.     @Override
  14.     public void xuatThongTin(){
  15.         super.xuatThongTin();
  16.         //     super.xuatThongTin();
  17.         System.out.println("_"+"Hoc phi:"+getTienHocPhi());
  18.     }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement