Answer:
Expensive is not always better
Explanation:
So I build 2 computers ok
Computer 1: Price 1,999$
<u>Whats Included:</u>
- Antivirus
- Anti-Over-Heat
- Windows 8 Operating Software
- Free VPN (For Life)
- 24/7 Support
- 1 year warranty
- 3/5 Star Reviews | Main Review Type: Parts Breaking Inside
Computer 2: Price 799$
<u>Whats Included:</u>
- Anti Virus
- Anti Over-Heat
- 1 Year Warranty
- Windows 10 Operating Software
- 24/7 Support
- 10 Year Warranty
- 4/5 Star Reviews | Main Review Type: Runs Smooth
- No VPN
<h2>So Computer 2 Has better reviews and a 10 year warranty over computer 1's 1 year warranty</h2>
a aj ji hfjizbhig jiad jv hD jug vhi SDhvb hbnsdubghi
a biabihb hsjgbidbihdgbhibsrhkgbhibshibvghibsdgjo
asbihdg hibsihbghibdshibghbshbg9bhisdbghivbhbhir
aa sbuogjanjfjnbsujoenngobuewwwwwwwwwwwwwwwwwwwwwwww0o
Answer:
public class Person {
//fields
private int id;
private String name;
private Payment pay;
//constructor
public Person(String name, int id,
int startSal, int startBon){
this.name = name;
this.id = id;
this.pay = new Payment(startSal, startBon);
}
//method get name
public String getName(){
return name;
}
//method get id
public int getId(){
return id;
}
//method get start salary
public int getStartSalary(){
return pay.startSalary;
}
//method get start bonus
public int getStartBonus(){
return pay.startBonus;
}
//inner payment class
private class Payment{
int startSalary;
int startBonus;
public Payment(int sal, int bon){
this.startSalary = sal;
this.startBonus = bon;