Answer:
The class from which a class inherits is called the parent or superclass. A class which inherits from a superclass is called a subclass, also called heir class or child class. Superclasses are sometimes called ancestors as well. There exists a hierarchical relationship between classes. It's similar to relationships or categorizations that we know from real life. Think about vehicles, for example. Bikes, cars, buses and trucks are vehicles. Pick-ups, vans, sports cars, convertibles and estate cars are all cars and by being cars they are vehicles as well. We could implement a vehicle class in Python, which might have methods like accelerate and brake. Cars, Buses and Trucks and Bikes can be implemented as subclasses which will inherit these methods from vehicle.
Explanation:
Good morning,
What Microsoft and Open Office have in common and that they both do is suggest better ways to present your data.
I hope you are satisfied with this answer and if you have anymore questions, feel free to ask. Have a good day!
Answer:
Number of CDs = 7
Explanation:
We know that
1 GB = 1024 MB
So it means the 4 GB of data can be interpreted as:
4 GB = 1024*4 MB
4GB = 4096 MB
So a DVD hold 4096 MB of data while a CD holds 650 MB of data.
We need to find how many CDs could hold 4096 MB of data, to make it equivalent to a DVD
Number of CDs = 4096/650
Number of CDs= 6.3
As a CD can not be 0.3, a whole 1 CD will be used.
Number of CDs = 7