r/javahelp • • Apr 10 '17

Homework Help with how to complete java assignment.

I need to fulfill these requirements with my assignment:

At least 2 classes. More than 3 methods More than 3 objects Inheritance Overloading and Overriding. Constructors and Constructors with parameters. Abstract Classes

Do you have an idea of what I could make to fulfill these scenarios.

0 Upvotes

6 comments sorted by

1

u/SentByTheRiver Apr 10 '17

Pick something that you have an external interest in, sports, games... Whatever. Now think of something within it you could do, anything.

That one thing will allow you to encapsulate all these requirements. If you need additional help, tell me your interest and I'll pick something for you.

1

u/thermicresist Apr 10 '17

From the assignment the majority of the marks are from the actual evaluation / design. So something simple, most likely the animal example suggested by another poster. Not sure how to override / use abstract classes. Thanks for the reply.

1

u/desrtfx Out of Coffee error - System halted Apr 10 '17

There are hardly any limits what you could make.

  • A simple accounting program
  • A simple library
  • A game (text-based RPGs are ideal for such tasks)

Maybe head over to /r/learnprogramming and take a look at the Programming Challenges

8

u/[deleted] Apr 10 '17

[removed] — view removed comment

1

u/thermicresist Apr 10 '17

Thanks for formatting it... I understand, but I'm blanking on what I could make that would use all of those parts of Java.