Answer:
The code has been written in Java.
The source code of the file has been attached to this response. The source code contains comments explaining important lines of the program.
A sample output got from a run of the application has also been attached.
To interact with the program, kindly copy the code into your Java IDE and save as Cafe.java and then run the program.
<span class="sg-text sg-text--link sg-text--bold sg-text--link-disabled sg-text--blue-dark">
java
</span>
Answer:
Option A, B & C are correct answers .
Explanation:
Answer:
The answer to this question is Control(ctrl).
Explanation:
We use control(ctrl) key when we need to select multiple entities.
So when we want to select more than one sketched entity we need to press and hold the control key on the keyboard when we are selecting the items.
Hence we conclude that the answer to this question is Control(ctrl).
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 .