// An illustration of object creation.
class ShipMain1 {
public static void main(String[] args){
// Define a method variable to refer to a Ship object.
Ship argo;
// Construct a new Ship object.
argo = new Ship();
}
}
コンパイルすると、 Ship argoとargo = new Ship();の両方で、Ship のシンボルが見つからないことがわかります。助けてください私は非常に新しい初心者です。これもプログラミングの本からコピーしているので、なぜ機能しないのかわかりません。