This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package my.blue.camaro; | |
public class MuscleCar | |
{ | |
public String color; | |
public String make; | |
public String model; | |
public boolean isCarStarted = false; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.dontas.home; | |
public class BackYard { | |
public String firepit; | |
public String pool; | |
public String grass; | |
public String trees; | |
public String patio; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.dontas.home; | |
public class BackYard { | |
public String firepit; | |
public String pool; | |
public String grass; | |
public String trees; | |
public String patio; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package my.blue.camaro; | |
public class MuscleCar | |
{ | |
public String color; | |
public String make; | |
public String model; | |
public boolean isCarStarted = false; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.tiy.sports; | |
public class League { | |
public Player[] nbaPlayers = new Player[4]; | |
public Referee[] nbaRefs = new Referee[6]; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package bank.of.atlanta; | |
import java.util.Scanner; | |
public class Bank { | |
public String bankName; | |
public double totalMoneyAtTheBank; | |
public BankAccount[] bankAcctList = new BankAccount[3]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package bank.of.atlanta; | |
import java.util.Scanner; | |
public class BankAccount { | |
public String name; | |
public double balance; | |
public double getBalance() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package bank.of.atlanta; | |
import java.util.Scanner; | |
public class BankAccount { | |
public String name; | |
public double balance; | |
public double getBalance() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package bank.of.atlanta; | |
import java.util.Scanner; | |
public class Bank { | |
public String bankName; | |
public double totalMoneyAtTheBank; | |
public BankAccount[] bankAcctList = new BankAccount[3]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package tiy.banking; | |
public class Bank { | |
public String bankName; | |
public double totalMoneyAtTheBank; | |
public BankAccount[] bankAcctList = new BankAccount[3]; | |
public void addBankAccount(BankAccount bankAcctToAdd, int bankAcctIndex) { | |
System.out.println("OMG - I'm adding a bank account"); | |
bankAcctList[bankAcctIndex] = bankAcctToAdd; |
OlderNewer