0
Throw Course
Can someone help me with this problem, I am completely lost: Create a CourseException class that extends Exception & whose constructor recieves a String that holds crs department(CIS), course number(101), & number of credits(3). Creata Course class witht the same fields whose constructors require values for each. Upon construction throw a CourseException is dept doesnt consist of 3 letters, crs number isnt 3 digits between 100 & 499, or credits are less than 0.5 or greater than 6. Write an app that establishes an array of at least six Course objects with valid & invaild values. Display appropriate emessage when created successfully or not?........please help?......
1 Réponse
+ 1
The instructions are pretty fast forward, what do you need help with? Can you show us your attempts?
Maybe I'm too late 😅