Skip to content

Commit 8435461

Browse files
committed
Feat: 1. Applications of Instance Variables:
Signed-off-by: Somesh diwan <[email protected]>
1 parent 443a27a commit 8435461

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Section10Methods/LocalandGlobalVariables/src/Applications of Instance Variables.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1 Applications of Instance Variables:
1+
1. Applications of Instance Variables:
22

33
Instance variables are used when each object needs its own unique data.
44

@@ -23,4 +23,4 @@ Each player object stores unique stats.
2323
Example: Each Order object has different order IDs, customer names, and payment statuses.
2424

2525
5. Banking Systems (Accounts and Transactions)
26-
Example: Each BankAccount object has different account numbers, balances, and holders.
26+
Example: Each BankAccount object has different account numbers, balances, and holders.

0 commit comments

Comments
 (0)