Object-Oriented Programming Basics Flashcards
(15 cards)
What is asynchronous?
A type of operation that runs independently of the main program flow, allowing additional tasks to happen without waiting for others to complete.
What is bytecode?
A low-level, platform-independent code that is executed by a virtual machine, typically produced by compiling source code.
What does case sensitive mean?
When a programming language treats uppercase and lowercase letters as different characters.
What is a class?
A blueprint for creating objects in object-oriented programming that defines the properties and behaviors the objects will have.
What is a compiler?
A tool that translates source code written in a high-level programming language into machine code or bytecode that a computer can execute.
What is encapsulation?
Bundling data and methods that operate on the data into a single unit (a class) and restricting access to some of the object’s components.
What is a field?
A variable associated with a class or object that represents a piece of data stored in that object.
What is inheritance?
The creation of a new class based on an existing class, inheriting its properties and methods while adding new ones or modifying existing ones.
What does instantiate mean?
The process of creating a specific instance of a class, resulting in an object.
What is an interpreter?
A tool that executes source code directly and translates it into machine code in real time rather than compiling it before.
What is a method?
A function defined within a class that describes the behaviors or actions an object can perform.
What is an object?
An instance of a class containing data and methods defined by the class, representing a specific entity in a program.
What is a paradigm in programming?
A style or approach to programming - such as object-oriented, procedural, or functional programming —that dictates how code is structured and organized.
What is polymorphism?
A concept that allows objects of different classes to be treated as objects of a common superclass.
What is strong typing?
A feature in which each variable has a specific type and you must follow strict rules about how types are used and combined, helping prevent errors in your code.