vault backup: 2024-01-21 00:27:23
This commit is contained in:
14
Semester 2/Programming 2/Week 1/zoo-io-v3/Animal.ctxt
Normal file
14
Semester 2/Programming 2/Week 1/zoo-io-v3/Animal.ctxt
Normal file
@@ -0,0 +1,14 @@
|
||||
#BlueJ class context
|
||||
comment0.params=species\ name
|
||||
comment0.target=Animal(java.lang.String,\ java.lang.String)
|
||||
comment0.text=\n\ Create\ an\ animal\ of\ the\ specified\ species\ and\ with\ the\ specified\ name\n\ \n\ @param\ \ <code>species</code>\ a\ <code>String</code>\ specifying\ the\n\ type\ of\ animal\n\ @param\ \ <code>name</code>\ a\ <code>String</code>\ specifying\ the\ \n\ name\ of\ animal\n
|
||||
comment1.params=
|
||||
comment1.target=java.lang.String\ getSpecies()
|
||||
comment1.text=\n\ Returns\ the\ species\ of\ the\ <code>Animal</code>\ object\n\ \n\ @return\ \ \ the\ species\ of\ animal,\ as\ a\ <code>String</code>\n
|
||||
comment2.params=
|
||||
comment2.target=java.lang.String\ getName()
|
||||
comment2.text=\n\ Returns\ the\ name\ of\ the\ <code>Animal</code>\ object\n\ \n\ @return\ \ \ the\ name\ of\ animal,\ as\ a\ <code>String</code>\n
|
||||
comment3.params=
|
||||
comment3.target=java.lang.String\ toString()
|
||||
comment3.text=\n\ Returns\ a\ string\ representing\ the\ <code>Animal</code>\ object.\ \ For\ a\ \n\ lion\ with\ name\ Leo\ it\ will\ return\ the\ <code>String</code>\ "Leo,\ a\ lion"\n\ \n\ @return\ \ \ a\ <code>String</code>\ representation\ of\ the\ animal\n
|
||||
numComments=4
|
Reference in New Issue
Block a user