- 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
United Kingdom
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Argentina
Austria
Belgium
Bulgaria
Chile
Colombia
Cyprus
Czechia
Denmark
Ecuador
Egypt
Estonia
Finland
Greece
Hungary
Indonesia
Ireland
Italy
Japan
Latvia
Lithuania
Luxembourg
Malaysia
Malta
Mexico
Netherlands
New Zealand
Norway
Philippines
Poland
Portugal
Romania
Singapore
Slovakia
Slovenia
South Africa
South Korea
Sweden
Switzerland
Taiwan
Thailand
Turkey
Ukraine