Average Rating 0 out of 5 stars. 0 votes.You must log in to submit a review.abstract,”-is a Java keyword.- It[…]
Read moreLatest Posts
superclass
Average Rating 0 out of 5 stars. 0 votes.You must log in to submit a review. superclass class that is[…]
Read morethis,”-refers to the current object reference-its also used to pass a current object
Average Rating 0 out of 5 stars. 0 votes.You must log in to submit a review.this,”-refers to the current object[…]
Read moredeclaration
Average Rating 0 out of 5 stars. 0 votes.You must log in to submit a review.declaration – announcing a variable[…]
Read moreColor color = new Color();
Average Rating 0 out of 5 stars. 0 votes.You must log in to submit a review.Color color = new Color();[…]
Read moreoverride,”changing the functionality of the superclass’ method- this type of method does the same functionality and keeps the same pre and post conditions
Average Rating 0 out of 5 stars. 0 votes.You must log in to submit a review.override,”changing the functionality of the[…]
Read moreConstructor,”- defined in a class-used to create an object of that class- has the same name as the class- often follows the keyword new when called upon to create an object (e.g. Color color = new Color();)- two main jobs 1) create an instance of its class 2) initializes instance variables- have no return type- not inherited- they have the same name as the class. Since they instantiate objects of that class, they have the same name of the class. – Initialize instance variables – if a ___________ has a parameters are used to set values of the variables- every class has this
Average Rating 0 out of 5 stars. 0 votes.You must log in to submit a review.Constructor,”- defined in a class-used[…]
Read moreFinal Instance Constants,”- each object of the class has its own instance constant- a primitive’s value cannot be changed once initialized- if the constant is an object
Average Rating 0 out of 5 stars. 0 votes.You must log in to submit a review.Final Instance Constants,”- each object[…]
Read moreStatic Class Constant,”- only one copy of a class constant
Average Rating 0 out of 5 stars. 0 votes.You must log in to submit a review.Static Class Constant,”- only one[…]
Read moreConstants,”- are final class variables declared within a class, outside any method, with the final keyword- can be accessed from inside any method, constructor or code bloc of that particular class- all upper case letters and two words should be separated by a _- E.G. : TAG_NUMBER
Average Rating 0 out of 5 stars. 0 votes.You must log in to submit a review.Constants,”- are final class variables[…]
Read more