Class Notes (838,385)
United States (325,381)
Music (10)
MUSIC 007 (8)
Cornella (7)
Lecture

Week 7.docx

2 Pages
73 Views
Unlock Document

Department
Music
Course
MUSIC 007
Professor
Cornella
Semester
Spring

Description
• Method Overloading is there is methods with the same name but different ways to call them o Method signatures are different o Different parameters in order to work o Popup –different ways to call the method • Overriding Methods o Changed the behavior of the methods, powerful ascept of OOP –object oriented programming! • Class, subclass, baseclass, or superclass • Virtual – tells the complier that this can be overridden by debrived classes o Has an opportunity to override this method • Override – overriding the same named method in the base class o I’m overriding whatever this class does • Base – in the subclass, calls the base class method • It wil look up the lowest decenedant • Abstract Classes o Can’t be instantiated by themselves, must create a subclass, and instantiate that instead. o They have members that must be overwritten in order to provide functionality o Can’t use the abstract class, only the sub class. o Have to override if you declare it as abstract. o Group comm
More Less

Related notes for MUSIC 007

Log In


OR

Join OneClass

Access over 10 million pages of study
documents for 1.3 million courses.

Sign up

Join to view


OR

By registering, I agree to the Terms and Privacy Policies
Already have an account?
Just a few more details

So we can recommend you notes for your school.

Reset Password

Please enter below the email address you registered with and we will send you a link to reset your password.

Add your courses

Get notes from the top students in your class.


Submit