

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Integer - Answer -Variable type that only consists of whole numbers; 32 bits Boolean - Answer -Variable type that consists of "true" or "false" Char - Answer -Data type that represents only 1 index of a String Short - Answer -Like an int, but only uses 16 bits of data and used to save memory space Long - Answer -Like an int, but has a wider range of number values. Takes 64 bits of data Double - Answer -Represents decimal numbers with 64 bits of data Float - Answer -Represents decimal numbers with 32 bits of data; used when memory space used is critical Byte - Answer -Used to represent integer numbers with only 8 bits of data. Bubble Sort - Answer -Sorting method where if the n+1 index is greater than n, the two indices are swapped. This is one of the most inefficient sort methods that exist. It's efficiency is O(n^2) in average and worst case scenarios. Insert Sort - Answer -As sort continues, the newest value is placed into the appropriate spot of whatever has already been sorted. Depending on the scenario, this has good or bad sort times Selection Sort - Answer -Sorting process where the smallest element is selected from the unsorted array and swapped with the leftmost element, and that element becomes a part of the sorted array. This process continues moving unsorted array boundary by one element to the right. Merge Sort - Answer -Sorting method where an array is broken into smaller and smaller arrays, sorted within the smaller arrays, then the smaller arrays are merged back together. Interface - Answer -An object type that doesn't have any instance variables or constructors, and is only made up of abstract methods
Abstract Class - Answer -An object type that has abstract methods in it, but may include some implementation. constructor - Answer -Type of code within a class that defines how an object is created; not a type of method Instance Variables - Answer -Defined variables within a class that are usually assigned values in the constructor Escape Sequence - Answer -In Java characters beginning with the backslash character (), used to indicate a special situation when printing values. For example, the escape sequence \t means that a horizontal tab should be printed; Special way to represent characters in a String. Parameter - Answer -Value passed into method when invoked. Put inside the parentheses. Method Overloading - Answer -Writing the same method multiple times in a class, but with different accepted parameters each time. Inheritence - Answer -When a subclass gains variables and methods from a superclass, this is called... Polymorphism - Answer -An inheritance structure where there are multiple children objects formed from the same parent object. Object-Oriented Programming - Answer -An approach to software design and implementation that is centered around Objects and Classes. Encapsulation - Answer -The characteristic of an object that limits access to its variables and methods. All interaction with the object occurs through an interface. Each object protects and manages its own information. Static - Answer -A Java reserved word that describes methods and variables. A static method is also called a class method and can be referred without an instance of the class. A static variable is also called a class variable and is common to all instances of a class Big O Notation - Answer -Used in computer science to measure the efficiency of an algorithm/sorting mechanism. Casting - Answer -Standard form of converting from one data type to another. Bit - Answer -Binary Digit; the smallest unit of information, having two possible values: 0 and 1.