Question

Which of the following is a common way to achieve abstraction in OOP?

A By making all methods concrete.
B By using only concrete classes.
C By defining abstract classes and interfaces.
D By exposing all internal variables as public.
E By using global functions.
Practice Next

Hey! Ask a query