can i have the answer for this program ?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   eshvar_m
Posted On:   Thursday, June 20, 2002 09:26 AM

Create THREE Java classes and an application to demonstrate objects inheritance. You may create any FOUR objects as long as they comply with the following hierarchy : superclass-0 | | |--------------------------| | | subclass-1 subclass-2 | | | | | main-1 | object-1 object-3 object-2 object-4 Object-1 and object-2 inherit their attributes and methods from subclass-1 while object-3 and object-4 inherit their attributes and methods from subclass-2. Both subclass-1 and subclass-2 are subclasses of superclass-0. You   More>>

Create THREE Java classes and an application to demonstrate objects inheritance. You may create any FOUR objects as long as they comply with the following hierarchy :

superclass-0
|
|
|--------------------------|
| |
subclass-1 subclass-2
| |
| |
| main-1 |
object-1 object-3
object-2 object-4

Object-1 and object-2 inherit their attributes and methods from subclass-1 while object-3 and object-4 inherit their attributes and methods from subclass-2. Both subclass-1 and subclass-2 are subclasses of superclass-0.

Your classes and objects names should precisely reflect the actual objects. For each subclass or superclass, you should have minimum of 2 attributes and 4 methods that manipulate the two attributes.

You should create all FOUR objects in ONE main program(main-1). You should use all the 12 methods either in your main program or subclasses.

DELIVERABLES
Required to submit
1) Simple UML CLASS design of your objects

   <<Less

Re: can i have the answer for this program ?

Posted By:   Bozidar_Dangubic  
Posted On:   Thursday, June 20, 2002 09:36 AM

we do not do homework for people here ...
About | Sitemap | Contact