codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
public class Quarterback extends Player { private int completions; private int attempts; private int yards; public Quarterback() { super(); } public Quarterback(String fName, String lName, String team, String position, int completions, int attempts, int yards) { super(fName, lName, team, position); this.completions = completions; this.attempts = attempts; this.yards = yards; } public int getCompletions() { return completions; } public int getAttempts() { return attempts; } public int getYards() { return yards; } }
Private
[
?
]
Run code
Submit