Menu
×
×
正确
class Car
{
int maxSpeed;
static void Main(string[] args)
{
@(3) @(5) = @(3) @(3)();
@(5).@(8) = @(3);
Console.WriteLine(myObj.color);
Console.WriteLine(myObj.maxSpeed);
}
}
class Car
{
int maxSpeed;
static void Main(string[] args)
{
Car myObj = new Car();
myObj.maxSpeed = 200;
Console.WriteLine(myObj.color);
Console.WriteLine(myObj.maxSpeed);
}
}
不正确
点击 此处 重试 正确
下一题 ❯class Car { int maxSpeed; static void Main(string[] args) {w3exercise_input_no_0w3exercise_input_no_1=w3exercise_input_no_2w3exercise_input_no_3();w3exercise_input_no_4.w3exercise_input_no_5=w3exercise_input_no_6; Console.WriteLine(myObj.color); Console.WriteLine(myObj.maxSpeed); } } |