Need help with a program that represents names
The rubric is found here: ftp://ftp.aw.com/cseng/authors/lewis/jss3/HTML_Labs/ch4/Names.html
this is what I have done right now, but my lab partner and I are STUCK, any help we receive would be appreciated
// ****************************************************************
// Name.java
// ****************************************************************
import cs1.Keyboard;
public class Name
{
//declare instance data
public String first, middle, last;
//constructor
public Name (String first, String middle, String last)
//returns the first name
public String getFirst()
{
return first;
}
//returns middle name
public String getMiddle()
{
return middle;
}
//returns last name
public String getLast()
{
return last;
}
//returns string containing the person's full name in order
public String firstMiddleLast()
{
return firstMiddleLast;
}
//returns a string containing the person's full name: last, first middle
public String lastFirstMiddle()
{
return lastFirstMiddle;
}
}