3. Your job is to take items from the pool and place them into the blank lines in the code. You
may use the same item more than once, and you might not need to use all the items. Your
goal is to make a set of classes that will compile and run together as a program.
Pool: rowboat, Sailboat, subclasses, Boat, testboats, extends,
return, int len, drift, hoist sail, continue, int length,
String, stroke Natasha, rowTheBoat, movem setLength, public,
getLength, void, int, static, private, int bl, int b2, int b3,
b1, b2, b3, length, break, len
public class Rowboat
{
public
rowTheBoat() {
System.out.print("stroke natasha");
}
}
private int
public class
length = len;
{
void
) {
}
public int getLength() {
;
}
public
move() {
System.out.print("\n");
}
}
public class TestBoats {
main(String[] args) {
Sailboat b1 = new Boat();
Rowboat b2 = new Rowboat();
b2. setLength(32);
b1.
();
b3.
();
move();
}
}
public class
Boat {
public
() {
System.out.print("\n");
}
}
/*
*** output ***
drift drift hoist sail
*/