Computer Application Sure Success for Class Xth

· Onlinegatha
5.0
4 reviews
Ebook
133
Pages
Ratings and reviews aren’t verified  Learn More

About this ebook

 1. Name any two OOP's Principles.

a) Abstraction b) Encapsulation, c) Inheritance

d) Polymorphism

2. Define Encapsulation. Encapsulation is an Object Oriented Programming concept, that binds together the data and functions that manipulate the data and that keeps it safe both, from the outside interference and misuse. For example: capsule, it is wrapped with different medicines.

Therefore, wrapping up of data (i.e. characteristics) and functions (i.e. behavior) into a single unit is known as, Encapsulation.

3. State main features of an Object Oriented Programming language.

a) Abstraction b) Encapsulation, c) Inheritance

d) Polymorphism

4. What is inheritance and how is it useful in Java?

Inheritance in java is a mechanism in which one object acquires all the properties and behaviors of the parent object. The idea behind inheritance in java is that you can create new classes that are built upon the existing classes. When you inherit from an existing class, you can reuse the methods and fields of the parent class and you can add new methods and fields also.

Ratings and reviews

5.0
4 reviews
Dheerendra Kumar
September 1, 2019
Shivam bhai boss
Did you find this helpful?

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.