computer science
Terms
undefined, object
copy deck
- Class
- a user-defined data type that encapsulates both data and the methods that act upon the data
- Divide and conquer
- Program development requires that large programs are divided into smaller program modules to be manageable
- attributes/ instance variables
- data components of a class
- variable
- simple data type
- superclass
- higher class
- copy constructor
- a constructor that instantiates a new object as a copy of an existing object. uses a single parameter, which is an object of the same class
- inner class
- declaring one class inside another class
- Structured Programming
- an organized style of programming that places emphasis on modular programming, which aids testing, debugging and modifying. modules are procedures and functions that process external data passed by parameters
- Inheritance
- the process of using features (both attributes and actions) from an established higher class.
- Instantiation
- the moment or instance that memory is allocated for a specific object of a class
- Composition
- "nested syntax" which happens when one class is composed of elements that include another class
- Java
- programing language that consists of one or more class declarations. in this modules are called classes and the process-subroutines are smaller modules called methods.
- Class
- modual
- default constructors
- Constructors without parameters
- Pascal and C++
- Suport OOP
- Polymorphism
- allows a single accessing feature, such as an operator, method or class identifier, to have many forms
- Methods
- action modules that process data
- Object
- one instance of a class
- OOP
- modules contain both the data and subroutines that process the data. modular programming
- Encapsulation
- the process of placing a data structure's data (attributes) with the methods (actions) that act upon the data inside the same module, called a class in Java.
- C++
- a language that allows you to skirt around OOP or postpone this OOP business for a considerable length of time
- Subclass
- lower class
- constructor
- a method with the same identifier as the class. (neither void nor return)