Object Oriented Programming Flashcards
What does asynchronous mean in programming?
An operation that runs independently of the main program flow, allowing multiple tasks to progress without waiting for one to finish first.
What is bytecode?
Low-level, platform-independent code that is executed by a virtual machine, typically produced by compiling source code.
What does it mean when a language is case sensitive?
It treats uppercase and lowercase letters as different characters.
What is a class in object-oriented programming?
A blueprint for creating objects, defining the properties (fields) and behaviors (methods) they will have.
What is a compiler?
A tool that translates high-level code into machine code or bytecode for the computer to execute.
What is encapsulation?
Bundling data and related methods in a class and restricting direct access to some components to protect the integrity of the object.
What is a field?
A variable that holds data within a class or object.
What is inheritance?
Creating a new class from an existing one, inheriting its properties and behaviors.
What does it mean to instantiate a class?
To create a specific object (instance) from a class.
What is an interpreter?
A tool that executes code line-by-line instead of compiling it all at once.
What is a method in OOP?
A function defined inside a class that represents an action or behavior of an object.
What is an object?
A specific instance of a class with its own data and behaviors.
What is a paradigm in programming?
A style or approach to programming, such as object-oriented, procedural, or functional.
What is polymorphism?
The ability to treat different classes as if they are the same through a common interface or superclass.
What is strong typing?
A system where each variable has a specific type, and type rules must be strictly followed.