Search found 2 matches

by beastLJ
Fri Oct 05, 2007 4:28 pm
Forum: Java
Topic: Student in Java need help with "cannot be applied error
Replies: 2
Views: 1593

Must have constructor with arguments and without in class

import java.util.Scanner;

public class Player
{
/***************************************instance variables*/
private int id;
private String playerName;
private String team;
private String position;
private double salary, commissionRate;
/******************************************utility ...
by beastLJ
Fri Oct 05, 2007 8:25 am
Forum: Java
Topic: Student in Java need help with "cannot be applied error
Replies: 2
Views: 1593

Student in Java need help with "cannot be applied error

I have set my constructors without agruments and I am seeing this error, which is pertaining to those arguments. Why.