Question: Subjects: Develop two JavaBeans. Students can work together as a team (of up to 3 members), and it is ok to have a smaller group.
Subjects: Develop two JavaBeans.
Students can work together as a team (of up to 3 members), and it is ok to have a smaller group. Please include names of your team members in your submission, and each team only needs to submit one copy on Canvas.
Instructions: Create a Java Web Project in NetBeans. Within the project, create a package named as beans under the Source Package. Create two JavaBean classes for the beans package, one named as Course and another named as Student. Requirements for these two Java classes are as following:
Course class:
- The class has the following private data fields: crn (int), course (String), title (String), credits (int), instructor (String), maxseats (int), seatsleft (int), college (String)
- The class is qualified as a JavaBean class, i.e., you need to define the corresponding get and set methods for each data field and meet all JavaBean requirements.
Student class:
- The class has the following private data fields: firstName (String), lastName (String), id (String), password (String), loggedIn (boolean)
- The class is qualified as a JavaBean class, i.e., you need to define the corresponding get and set methods for each data field and meet all JavaBean requirements.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
