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
Spanish 3 1
Updated 261d ago
Note
Preview
Baumrind's Parenting Styles
Updated 918d ago
Note
Preview
Chapter 1 - Introduction to Statistics
Updated 1153d ago
Note
Preview
Absolute Monarchs Cornell Notes
Updated 227d ago
Note
Preview
Chem - Chapter 6
Updated 838d ago
Note
Preview
4.3 Sales forecasting
Updated 1034d ago
Note
Preview
Chp 5: Language
Updated 878d ago
Note
Preview
Unit 8: Ecology
Updated 781d ago
Note
Preview
Explore top flashcards
Business
Updated 861d ago
Flashcards (54)
Preview
JLPT 5 Adjectives + Nouns (Help)
Updated 768d ago
Flashcards (32)
Preview
Anatomy Practical 3 - Muscles pt. 1: Origin, Insertion, and Action
Updated 397d ago
Flashcards (43)
Preview
Ap Psych Quiz 14
Updated 447d ago
Flashcards (41)
Preview
Cranial Nerves
Updated 543d ago
Flashcards (62)
Preview
blood vessels
Updated 776d ago
Flashcards (22)
Preview
414 Lec 10-11
Updated 827d ago
Flashcards (30)
Preview
Aeneid Books 7-12
Updated 748d ago
Flashcards (38)
Preview