The Artima Developer Community
Sponsored Link •

Design Forum
java clases and subclasses

3 replies on 1 page. Most recent reply: Dec 17, 2002 3:27 PM by Matt Gerrans

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 3 replies on 1 page
ayas

Posts: 2
Nickname: ayas
Registered: Dec, 2002

java clases and subclasses Posted: Dec 9, 2002 3:50 PM
Reply to this message Reply
Advertisement
hi can anyone help me out on my java assignment plz.
basically i have all thse geometric shapes such as , square, rectangle, circle,triangles and u know the usual. i need to put thses shapes in classes and make a effiecient design, eg. square and rectangle are similar to each other so i would put them in a class maybe called four seides shape. i have to make a class hierachie wtih all thses different shapes. can someone plz help mje to achieve this.]

thanx ayaz


Thomas SMETS

Posts: 307
Nickname: tsmets
Registered: Apr, 2002

Re: java clases and subclasses Posted: Dec 12, 2002 4:42 PM
Reply to this message Reply
Burn the midnight oil !
It's all you'll need to do... Or find yourself a job !

thomas,

ayas

Posts: 2
Nickname: ayas
Registered: Dec, 2002

Re: java clases and subclasses Posted: Dec 17, 2002 2:34 PM
Reply to this message Reply
cheers for your help mate!!!!! ur right thought i did burn the midnight oil and i thinks its gonna pay off.

Matt Gerrans

Posts: 1153
Nickname: matt
Registered: Feb, 2002

Re: java clases and subclasses Posted: Dec 17, 2002 3:27 PM
Reply to this message Reply
Modern design proponents would suggest you lean more toward composition, anyway, despite the fact that "polymorphism" translates to "many shapes." ;-)

Flat View: This topic has 3 replies on 1 page
Topic: Question about MVC Previous Topic   Next Topic Topic: Article on the

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use