- Which of the following attributes declared in the Car class is not a value type variable?
- public Decimal fuelCapacity;
- public Enum carColor;
- public String registrationNumber;
- public Int numberOfSeats
- Which of the following is not a reference type variable?
- Class
- String
- Struct
- Interface
- In C#, a child class can inherit from multiple parent classes. Is this statement correct?
- Yes
- No
- Which of the following statements about interfaces and classes is not correct?
- A class can implement multiple interfaces.
- An interface can have both function declarations and definitions.
- A struct data variable cannot inherit from another struct.
- In inheritance, if both the base class and the derived class have a function with the same name, we can use the base keyword to implicitly call the function of the base class.
- Which of the following statements about access modifiers is...
United States
Great Britain
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Singapore
Hungary
Ukraine
Luxembourg
Estonia
Lithuania
South Korea
Turkey
Switzerland
Colombia
Taiwan
Chile
Norway
Ecuador
Indonesia
New Zealand
Cyprus
Denmark
Finland
Poland
Malta
Czechia
Austria
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Netherlands
Bulgaria
Latvia
South Africa
Malaysia
Japan
Slovakia
Philippines
Mexico
Thailand