JAVA
Part 1.3. Write a main() method. Assume it is implemented inside of the Course class. a) Create anew Hybridcenuse using a no-as constructor and assign it to the object reference variable of type Course. b) Set the value of number of studentsEnrolled to 20. c) Create a new Hybrid.Conuse using the second constructor, presented on the UML. d) Increment the numberOfstudentsEnrolled by 18. e) Display a description of all objects you created on the console. f) Display the total number of Enrolled Students.
JAVA
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am