OOP Pillars (Abstraction)

Primary tabs

Abdelraheem Al-najjar Raheem's picture

No Description Set

Subjects: 

Bookmark to learn: Login to use bookmarks.

Bookmark to learn: Login to use bookmarks.

Add to collection ... add OOP Pillars (Abstraction) to your collections:

Help using Flashcards ...just like in real life ;)

  1. Look at the card, do you know this one? Click to flip the card and check yourself.
  2. Mark card Right or Wrong, this card will be removed from the deck and your score kept.
  3. At any point you can Shuffle, Reveal cards and more via Deck controls.
  4. Continue to reveal the wrong cards until you have correctly answered the entire deck. Good job!
  5. Via the Actions button you can Shuffle, Unshuffle, Flip all Cards, Reset score, etc.
  6. Come back soon, we'll keep your score.
    “Repetition is the mother of all learning.”
  7. Signed in users can Create, Edit, Import, Export decks and more!.

Bookmark to learn: Login to use bookmarks.

Share via these services ...

Email this deck:

Right: #
Wrong: #
# Right & # Wrong of #

A process of hiding the implementation details and showing only functionality to the user.

Abstraction

Abstraction lets you focus on what the object does instead of -

How it does it

The process of extracting shared characteristics from two or more classes, and combining them into a generalized superclass.

Generalization

Shared characteristics can be X, Y, or Z

Attributes, associations, or methods

Creating new subclasses from an existing class.

Specialization

What are the two ways to achieve abstraction in Java?

Abstract class (0 to 100%)
Interface (100%)

A class which is declared as abstract

An abstract class

Can an abstract class be instantiated?

No

An abstract class must be declared with an -

abstract keyword.

An abstract class can have - and static methods also.

constructors

An abstract class can have - which will force the subclass not to change the body of the method.

final methods

A method which is declared as abstract and does not have implementation

Abstract method

Subjects: