Skip to content

Commit 9abe351

Browse files
authored
Update README.md
1 parent 8c3599c commit 9abe351

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Classes/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## A class is essentially a data type. Whenever we create an instance of a class
22
## we declare it so say I want to declare 10 dog ages i would go and say int dogAge1= 3;
33
## and say int dogAge2=12; This is inefficient and is a waste of time.
4-
## Within a class we have methods and we have attributes. An attribute is similar to variables in
5-
## that they hold information for us. We want to have 2 attributes for our dog class the Name and the age.
4+
## Within a class we have methods and we have attributes. An attribute is similar to variables in that they hold information for us.
5+
## We want to have 2 attributes for our dog class the Name and the age.
66

0 commit comments

Comments
 (0)