This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes abstract class Course Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "abstract class Course " Watch "abstract class Course " New topic
Author

abstract class Course

alaina peeler
Greenhorn

Joined: Dec 04, 2005
Posts: 29
im supposed to design a set of classes that define various courses in my curriculum. I have to include the title, number, description of class, and department that teaches the course......what methods could i make abstract.....im a little confused on setting this one up
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
From your description so far it sounds like a single class would do the job. In a running program you could create any number of instances to represent different courses. With just that, I don't see any need for abstract methods.

But, if your assignment included instructions to use some abstract methods in an abstract class you'll have to find some. Can you give any more details about the assignment? Maybe it will have some hints.


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: abstract class Course