1) What is the main benefit of abstraction in programming? a) It makes the code more complex b) B) It hides unnecessary details and provides a simpler interface c) C) It allows objects to have multiple forms d) D) It forces all objects to behave the same way 2) How does abstraction improve software design? a) By exposing all details to the user b) B) By making programs harder to understand c) C) By reducing complexity and focusing on what’s important d) D) By preventing the use of classes and objects 3) Which concept allows different classes to use the same method name but execute it differently? a) A) Abstraction b) B) Encapsulation c) C) Polymorphism d) D) Inheritance 4) An instance of a class with specific data and behavior a) Class b) Attributes c) Method d) Objects 5) oop is Code Reusability: Classes can be used to create multiple objects without rewriting code a) true b) false

Leaderboard

Visual style

Options

Switch template

Continue editing: ?