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