[ create a new paste ] login | about

Link: http://codepad.org/wblgYZAh    [ raw code | output | fork ]

C, pasted on Apr 7:
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;
	}

}


Output:
1
Line 1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'class'


Create a new paste based on this one


Comments: