FlashKeepers

Computer Science · College · College and University

Object-Oriented Programming, Unit 1: Classes and Objects

Object-Oriented Programming, unit: Classes and Objects. Core concepts, terminology, and worked-example cues a college student meets for this unit, building on prior units without repeating them. Front: a term, concept, or short problem cue. Back: the definition, explanation, or answer.

About this set

37 basic cards for College Computer Science. Set 1 of 7 in Object-Oriented Programming. It opens with "What is object-oriented programming (OOP)?" and "What is a class?". Study it alongside the other College sets below.

37 cards · basic cards · AI-written, checked twice. Edit anything.

Study this set free Look inside first Get FlashKeepers for iPhone

Opens in your browser, no account. Get the iPhone and iPad app · Android app

What is object-oriented programming (OOP)?
Show answerA programming paradigm organizing code around objects that combine data and behavior
What is a class?
Show answerA blueprint defining the properties and behaviors that its objects will have
What is an object?
Show answerAn instance of a class, with its own state and behavior
What is instantiation?
Show answerThe process of creating an object from a class
What is a constructor?
Show answerA special method that initializes a new object when it is created
What is an instance variable?
Show answerA variable belonging to a specific object, holding that object's unique state
What is a method?
Show answerA function defined within a class that operates on its objects
What is 'this' or 'self' typically used for in a method?
Show answerReferring to the specific object the method is currently operating on
What is a class variable (static variable)?
Show answerA variable shared by all instances of a class, rather than belonging to one object
What is the difference between a class and an object?
Show answerA class is a blueprint; an object is a concrete instance created from that blueprint
What is a getter method?
Show answerA method that returns the value of a private instance variable
What is a setter method?
Show answerA method that modifies the value of a private instance variable
What is method overloading?
Show answerDefining multiple methods with the same name but different parameter lists
What is a default constructor?
Show answerA constructor with no parameters, often automatically provided if none is defined
What is object state?
Show answerThe current values of an object's instance variables at a given moment

22 more cards in the app

Study this set free