{ "@context": "https://schema.org", "@type": "Organization", "name": "Brainscape", "url": "https://www.brainscape.com/", "logo": "https://www.brainscape.com/pks/images/cms/public-views/shared/Brainscape-logo-c4e172b280b4616f7fda.svg", "sameAs": [ "https://www.facebook.com/Brainscape", "https://x.com/brainscape", "https://www.linkedin.com/company/brainscape", "https://www.instagram.com/brainscape/", "https://www.tiktok.com/@brainscapeu", "https://www.pinterest.com/brainscape/", "https://www.youtube.com/@BrainscapeNY" ], "contactPoint": { "@type": "ContactPoint", "telephone": "(929) 334-4005", "contactType": "customer service", "availableLanguage": ["English"] }, "founder": { "@type": "Person", "name": "Andrew Cohen" }, "description": "Brainscape’s spaced repetition system is proven to DOUBLE learning results! Find, make, and study flashcards online or in our mobile app. Serious learners only.", "address": { "@type": "PostalAddress", "streetAddress": "159 W 25th St, Ste 517", "addressLocality": "New York", "addressRegion": "NY", "postalCode": "10001", "addressCountry": "USA" } }

OOP Flashcards

(5 cards)

1
Q

What are classes?

A

A template definition of the methods and variables in a particular kind of object.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are objects/instances?

A

This is a data field that has unique attributes and behavior.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is inheritance?

A

This is a mechanism that allows a class to inherit properties and behaviors from another class.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is encapsulation?

A

A way to restrict the direct access to some components of an object.
A concept used to bundle data and methods into easy-to-use units.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is polymorphism and overloading?

A

This is the provision of a single interface to entities of different types, or the use of a single symbol to represent multiple different types.
The ability of a message to be displayed in more than one form.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly