COMP 2710 Lecture Notes - Abstract And Concrete

41 views1 pages

Document Summary

Polymorphism overriding methods: identical name and parameters the actual method gets called depending on the actual class that the object (implicit, before, or explicit, after parameter) all three, interace, concrete, and abstract all are procide. Interface: similar to an abstract class different in that: can not have instance variables, can not have static methods, all methods are abstract, all methods are public, can not have constructors. Implementing an interface use the key word implements not extends a parameter of a method as an interface, c.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents

Related Questions