Java では、次のコードがある場合:
class myClass{
int timer;
public myClass(int timer){
this.timer = timer;
}
//rest of class
}
だから今、私はこのステートメントに相当するものを知りたいです:
this.timer = timer;
または、C++ で別の変数名を使用する必要がありますか?
ありがとうございました、
Java では、次のコードがある場合:
class myClass{
int timer;
public myClass(int timer){
this.timer = timer;
}
//rest of class
}
だから今、私はこのステートメントに相当するものを知りたいです:
this.timer = timer;
または、C++ で別の変数名を使用する必要がありますか?
ありがとうございました、