Answer:
pretty sure it's d. clusters
if not it's also probably a. cylinders
Explanation:
Answer:
- Inheritance
- Data abstraction or Data encapsulation
- Polymorphism.
Explanation:
The three fundamental features of an object oriented programming language are written above.
1. Inheritance:It is the mechanism when a class acquires the properties of some other class.The class which acquires the properties is called the child class and the class from which properties are inherited is called the base class.
2. Data encapsulation is clubbing different types of data in one place.That what class does .It can contain different data types in one place and those variables can be public ,private or protected.
3.Polymorphism it the property when an entity is processed in more than one form.Either be it run time or compile time polymorphism .
I. is syntactically correct if genderString exists. if genderString, for example, is "Male", then char gender would be the character at index 0 (the first character), meaning 'M'.
II. is incorrect. It is using the comparison operator (==) instead of the assignment operator (=). It is also setting a boolean variable to a String value of 'F'. Boolean values cannot hold string values, and can only hold true & false.
III. is correct if ageString only contains numbers (presumably, it does, as it's called ageString). Integer.parseInt is a function that converts String values to integer values if the string values only contain numerical characters.
The answer in this case should be B. II only.