From the course: Oracle Java Foundations
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Modeling classes - Java Tutorial
From the course: Oracle Java Foundations
Modeling classes
(bright music) - [Joe] In this module, we'll look at Modeling Classes. Previously, we discussed the fact that Java is an object-oriented language, and can benefit from the interactions of objects. One of the questions that will come up is, how do we design and build objects for our applications? Remember, objects have no prescribed sequence, typically, where one object can use other objects in whatever combination or sequence it needs to carry out the work of the program. And the benefits of object orientation include modularity, information hiding, ability to reuse code easily, and the ability to maintain the application easily. So where do the objects come from? Where does this all start? Well, technically, objects are based on classes. Objects exist at runtime, classes are used for design. Okay, where do the classes come from? Well, by performing analysis activities, we can analyze how the system's going to be used and the requirements of the system to see what the major classes or…