C Sharp (C#) - Classes and Objects
Identify the error in this class declaration:
public class Car
{
public string Model;
private int year
}public class Car
{
public string Model;
private int year
}private int year is missing a semicolon at the end.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions