Home
Explore
Exams
Search for anything
Login
Get started
Home
Unit_4_Part_2_Writing Classes
Unit_4_Part_2_Writing Classes
0.0
(0)
Rate it
Studied by 0 people
0.0
(0)
Rate it
Call with Kai
Knowt Play
New
Learn
Practice Test
Spaced Repetition
Match
Flashcards
Card Sorting
1/11
There's no tags or description
Looks like no tags are added yet.
Study Analytics
All Modes
Learn
Practice Test
Matching
Spaced Repetition
Name
Mastery
Learn
Test
Matching
Spaced
No study sessions yet.
12 Terms
View all (12)
Star these 12
1
New cards
Method Declaration
Specifies the code that will be executed when the method is invoked.
2
New cards
Method Header
Begins a method declaration and includes the method name, return type, and parameter list.
3
New cards
Return Type
Indicates the type of value that a method sends back to the calling location.
4
New cards
Void Return Type
Indicates that a method does not return a value.
5
New cards
Local Data
Variables declared inside a method, created each time the method is called and destroyed when finished.
6
New cards
Formal Parameters
Parameters specified in the method declaration that receive actual parameters during invocation.
7
New cards
Driver Program
A program that drives the use of other parts of a program, often used for testing.
8
New cards
Account Class
Represents a bank account with basic services like deposit and withdrawal.
9
New cards
Constructor
A special method that initializes objects and has no return type.
10
New cards
Deposit Method
Adds a specified amount to the account balance and returns the new balance.
11
New cards
Withdraw Method
Withdraws a specified amount from the account, applies a fee, and returns the new balance.
12
New cards
Add Interest Method
Calculates and adds interest to the account balance, returning the new balance.
Explore top notes
AP Bio: Unit 3 Cells + Transport
Updated 539d ago
Note
Preview
Chapter 2: Crime Scene Investigation
Updated 926d ago
Note
Preview
AP Human Geography Ultimate Guide
Updated 527d ago
Note
Preview
Cells Parts
Updated 1098d ago
Note
Preview
Warfare (Prehistoric Era to 600 CE)
Updated 1007d ago
Note
Preview
Psychology Module 1
Updated 736d ago
Note
Preview
Kinematics
Updated 263d ago
Note
Preview
Object-Orientated Programming (IB)
Updated 421d ago
Note
Preview
AP Bio: Unit 3 Cells + Transport
Updated 539d ago
Note
Preview
Chapter 2: Crime Scene Investigation
Updated 926d ago
Note
Preview
AP Human Geography Ultimate Guide
Updated 527d ago
Note
Preview
Cells Parts
Updated 1098d ago
Note
Preview
Warfare (Prehistoric Era to 600 CE)
Updated 1007d ago
Note
Preview
Psychology Module 1
Updated 736d ago
Note
Preview
Kinematics
Updated 263d ago
Note
Preview
Object-Orientated Programming (IB)
Updated 421d ago
Note
Preview
Explore top flashcards
sociology exam 2
Updated 707d ago
Flashcards (95)
Preview
Unit 6 psych terms
Updated 1034d ago
Flashcards (60)
Preview
Macbeth study guide
Updated 601d ago
Flashcards (72)
Preview
Le Cours intensif 2: Lecon 7, Entrée, Atielier A, B, Mon Dico Personnel, La Travail à la maison
Updated 913d ago
Flashcards (148)
Preview
Unit 7 - DNA Replication
Updated 591d ago
Flashcards (31)
Preview
Vocabulary Workshop Level G Unit 2 (copy)
Updated 708d ago
Flashcards (20)
Preview
LESSON 1 FCK
Updated 953d ago
Flashcards (46)
Preview
Physiology ospe
Updated 15h ago
Flashcards (72)
Preview
sociology exam 2
Updated 707d ago
Flashcards (95)
Preview
Unit 6 psych terms
Updated 1034d ago
Flashcards (60)
Preview
Macbeth study guide
Updated 601d ago
Flashcards (72)
Preview
Le Cours intensif 2: Lecon 7, Entrée, Atielier A, B, Mon Dico Personnel, La Travail à la maison
Updated 913d ago
Flashcards (148)
Preview
Unit 7 - DNA Replication
Updated 591d ago
Flashcards (31)
Preview
Vocabulary Workshop Level G Unit 2 (copy)
Updated 708d ago
Flashcards (20)
Preview
LESSON 1 FCK
Updated 953d ago
Flashcards (46)
Preview
Physiology ospe
Updated 15h ago
Flashcards (72)
Preview