Question
Who discovered the atomic
nucleus?Solution
Ernest Rutherford discovered the atomic nucleus through his famous gold foil experiment.
What is the primary goal of Abstraction in OOP?
Which access modifier restricts access to a class member only within the class itself and its derived classes?
Which OOP principle binds data and the methods that operate on that data within a single unit?
The bundling of data (attributes) and methods (functions) that operate on the data into a single unit (class), and restricting direct access to some of ...
Which of the following is a common way to achieve abstraction in OOP?
If a class contains an abstract method, what must be true about the class itself?
How is data hiding primarily achieved in OOP?
Which OOP principle is most closely related to the concept of "information hiding"?
What is a "method" in the context of OOP?
What are "getter" and "setter" methods primarily used for in the context of encapsulation?