Understand signatures and returned values in Java.
- [Narrator] Just as there is an equivalence…between the terms attributes and fields,…there is a similar equivalence…between behaviors and methods.…Object oriented theory uses behavior…and Java uses methods.…The triangle class contains three fields,…base, height and hypotenuse.…The attribute protected indicates that we intend to use…the triangle class within inheritance.…The right triangle class extends triangle.…This is an example of inheritance using Java's keywords.…
We have a constructor that takes two parameters,…two arguments, a base and a height.…Here these assignments are used for teaching purposes.…We use super.base=base and this.height=height.…As the comments show, this is for teaching purposes only,…but I wanted to show the equivalence.…What we're doing is we're taking the information…that's created or passed in via argument…and assigning it to the object.…Here the super indicate that it's being applied…to a field in the super class triangle.…
This implies that it's being applied…to the current class right triangle.…
- The IMQAV model
- Downloading software
- Installing and setting up a Java coding environment
- Mock tests
- Code coverage
- Using windows, views, and modes in IntelliJ IDEA
- Creating classes and attributes
- Creating constructors
- Casting variables
- Matching literals with regular expressions
- Regular expressions
- Design patterns
Skill Level Intermediate
Java: Database Integration with JDBCwith David Gassner2h 51m Intermediate
NumPy Data Science Essential Trainingwith Charles Kelly3h 54m Intermediate
1. Getting Started with Java
2. Test-Driven Development
3. IntelliJ IDEA
4. Object-Oriented Java
6. Regular Expressions (Regex)
8. Design Patterns
9. Applying Data Science
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.