Define Data Structures and Algorithms in Java Flashcards

​Learn, study and Define Data Structures and Algorithms in Java with our flashcards quizzes. The study, learn and Define Data Structures and Algorithms in Java with our quiz based flashcards. This flashcard is simple and easy to use and is more fun-oriented.

37 cards   |   Total Attempts: 195
  

Cards In This Set

Front Back
Algorithms
Created AFTER the problem is understood. A set of detailed explanaations to be followed when creating a program, which includes step-by-step details and calculations. Must be specific and includes all details.
Object
Consists of data and the operation of those datas.


Objects
Are reference variables that point to memory locations, not values
Reference Variable
A variable that stores the address of a memory space and are declared using a class
Wrapper Class
Ex: Class Integer

Used to wrap int values into Integer objects, so that Int values can be regarded as objects
Wrapper Class
"Wraps" the primitive data type into an object of a certain class
Primitive Type Variable
Stores data directly into their own memory space: Ex.- Boolean, Floating Points, Integral Points
Designing a Class
Problem- Analysis - Algorithm - Coding - Compiling - (If No Error) - Bytecode - loader - interpreter - RESULTS
Class
A unit of combined data and its operations.

The blueprints and design.
Constructor
Permits the data member to be initialized when an object is declared
Constructors
The name of the __________ is the same as the name of the class.

A class can have more than one of this.
Default Constructor
A constructor without parameters.

Sets the instance variable to 0.
Constructors
___________ execute automatically when a class object is created.


Constructors With Variables
_________ with ____________ initializes the instance variable to the value specified by the user.
Methods
A set of statements designed to accomplish a specific task and are used to implement algorithms.