205k views
1 vote
Which is not a feature of object-oriented languages?

1) encapsulation
2) inheritance
3) polymorphism
4) platform-dependent

1 Answer

3 votes

Final answer:

Platform-dependent is not a feature of object-oriented languages. Object-oriented languages focus on encapsulation, inheritance, and polymorphism.

Step-by-step explanation:

Platform-dependent is not a feature of object-oriented languages. Object-oriented languages focus on encapsulation, inheritance, and polymorphism. Encapsulation refers to the bundling of data and methods into a single unit, while inheritance enables the creation of classes based on existing classes, and polymorphism allows objects to be treated as instances of their own class or their parent class. Platforms, on the other hand, refer to the specific hardware or software environment where programs run.

User Bubster
by
7.7k points