








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
In the course of the Introduction to Jave Programming, we study the basic syntax and the basic program in java. In these lecture slides the key points are: Packages, Javadoc, References, Memory, Locations, Solutions on Moodle, Mastering References, Matryoshka Doll, Null, Copying
Typology: Slides
1 / 14
This page cannot be seen from the preview
Don't miss anything!
Child classes can override methods from their parent's class This means a child can redefine a method to work in a completely different way than the parent's method Can use super to get the parent's version of an overridden method
We have used final to declare constants (objects who's value cannot change) You can use the final modifier with methods and classes as well: final classes cannot be the parent for any class final methods cannot be overridden (See: Final.java, FinalClass.java and FinalMethod.java)Docsity.com
Var Scope A.x = Any class A.y = Only A B.y = Any class B.z = B, C and any in package C.w = Any in package D.z = Any in package E.x = Any class (See: A, B, C, D.java)Docsity.com
Good picture on page 457 of textbook
Suppose C extends A...
If you are writing a simple program that only you, yourself, will use... then you do not. But imagine if all programs gave full access to everything...