Home
Explore
Exams
Search for anything
Login
Get started
Home
Engineering
Computer Science
Using Objects
0.0
(0)
Rate it
Studied by 5 people
View linked note
Learn
Practice Test
Spaced Repetition
Match
Flashcards
Card Sorting
1/21
Earn XP
Description and Tags
Computer Science
Using Objects
Add tags
Study Analytics
All
Learn
Practice Test
Matching
Spaced Repetition
Name
Mastery
Learn
Test
Matching
Spaced
No study sessions yet.
22 Terms
View all (22)
Star these 22
1
New cards
Procedural abstraction
________: not knowing how a method or thing was written but still using it effectively in programs as long as you know what it does.
2
New cards
Null
________: when the variable is not pointing to any object or does not allocate or memory.
3
New cards
Wrapper classes
________: converts primitive types to object types in order for methods to work with them.
4
New cards
Concatenation
________: the process of adding 2 string values together.
5
New cards
Void
________: return type, indicates what type of value is being returned from the method, indicates that the method doesnt return anything for this type.
6
New cards
Public Rectangle
________: example of constructor name, must match class name.
7
New cards
constructor
A(n) ______ can be written with no formal parameters and instead has predetermined values.
8
New cards
Non-void methods
________ can be stored in another variable or used in an expression.
9
New cards
Public
________: access specifier, determines who has access to use the method when writing classes and objects.
10
New cards
return type
The ________ must match the data type that is being returned from the method.
11
New cards
Name the class; Example
public class Rectangle
12
New cards
public Rectangle
example of constructor name, must match class name
13
New cards
(int rectWidth, int rectHeight)
Formal Parameter list, lists the type of variables that can be passed into that constructor and their variable names, should not be variable names
14
New cards
Procedural abstraction
not knowing how a method or thing was written but still using it effectively in programs as long as you know what it does
15
New cards
Methods
procedures that allow us to control and define the behavior of an object
16
New cards
Public
access specifier, determines who has access to use the method when writing classes and objects
17
New cards
printArea()
method name, named like variables, must be concise
18
New cards
/n
adds a line break
19
New cards
/t
adds a tab space
20
New cards
Wrapper classes
converts primitive types to object types in order for methods to work with them
21
New cards
Auto boxing
primitive type → wrapper class (Integer X = 4;)
22
New cards
Unboxing
wrapper class → primitive type (int x2 = X;)
Explore top notes
Chapter 20: Relative Pronouns
Updated 692d ago
Note
Preview
How to get a Perfect Score on AP Euro SAQ
Updated 154d ago
Note
Preview
Chapter 6- Lipids, Membranes, and the First Cells
Updated 849d ago
Note
Preview
Akkad, Mesopotamia's First Empire
Updated 844d ago
Note
Preview
Hamlet: Pulling It All Together
Updated 1006d ago
Note
Preview
Hitler's Germany
Updated 48d ago
Note
Preview
4.0: unit four review - political patterns and processes
Updated 881d ago
Note
Preview
Supreme Court Cases to know for APUSH
Updated 109d ago
Note
Preview
Explore top flashcards
IB biology 2: molecular biology
Updated 465d ago
Flashcards (97)
Preview
Bio Midterm
Updated 496d ago
Flashcards (186)
Preview
APUSH Unit 2 Flashcards
Updated 236d ago
Flashcards (111)
Preview
History 🤧 BOLDED Words
Updated 161d ago
Flashcards (86)
Preview
APES Unit 7 Vocab
Updated 820d ago
Flashcards (33)
Preview
AP Gov Chapter 4 Vocab
Updated 580d ago
Flashcards (36)
Preview
AMSCO Unit 3 Vocab
Updated 901d ago
Flashcards (107)
Preview
ALL OF HEIMLER'S VIDEOS (APWH)
Updated 364d ago
Flashcards (27)
Preview