Join Peggy Fisher for an in-depth discussion in this video Diagramming with UML, part of Java Essential Training for Students.
- View Offline
- Exercise Files
- To determine the required information…for the employee class, you need to conduct interviews…and have discussions with the end user.…For our example, we want to create…an employee class for a payroll program.…Therefore, we've already determined…that we will need the following pieces of data.…The employee first name, last name,…phone number, address, employee ID,…department, and title.…Based on the information, here is the start…of our UML diagram to model our employee class.…
As you can see, the top rectangle…contains the name of the class, Employee.…The next rectangle contains…the instance data about the employee.…These values refer to the state of the employee.…The last rectangle is the behaviors, or the methods…that we'll need to be able to access employee information.…We have a constructor, Employee,…which is used to instantiate our employees.…As well as some get methods.…As you can see, this model is not complete…since we still need to add set methods…for each piece of data to go along with the get methods.…
- Getting started with parsing
- Reviewing data types
- Using decisions
- Creating user-defined methods
- Command-line debugging
- Exploring the Java API
- Creating and instantiating classes
- Working with interfaces
- Storing items with arrays
Skill Level Intermediate
1. Command Level Programming
2. Basics Review
4. Java API
5. Simulations and Algorithm Analysis
6. Classes and Objects
7. More on Classes
8. Data Structures
- 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.