SHARE
TWEET

SinhVienBiz

Alone457 Feb 26th, 2020 96 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package net.codejava;
  2.  
  3. public class SinhVienBiz extends SinhVienFpoly{
  4.     double diemMarketting;
  5.     double diemSales;
  6.     public SinhVienBiz(String hoTen, double diemMarketting, double diemSales) {
  7.         super(hoTen, "Biz");
  8.         this.diemMarketting = diemMarketting;
  9.         this.diemSales = diemSales;
  10.     }
  11.     @Override
  12.     public Double getSoDiem() {
  13.         // TODO Auto-generated method stub
  14.         return (((2*diemMarketting) + diemSales)/3);
  15.     }
  16.    
  17.    
  18.  
  19.    
  20. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top