aspose file tools*
The moose likes Beginning Java and the fly likes Inheritance ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Inheritance ?" Watch "Inheritance ?" New topic
Author

Inheritance ?

Sirish Kumar Gongal Reddy
Ranch Hand

Joined: Oct 25, 2004
Posts: 109
Hi Everybody,
1) Can you tell me some dis advatages of java ?

2) Can you tell me some dis advantages of Inheritance ?
Steve Morrow
Ranch Hand

Joined: May 22, 2003
Posts: 657

1) Can you tell me some dis advatages of java ?

2) Can you tell me some dis advantages of Inheritance ?


http://faq.javaranch.com/view?SearchFirst
Patrick van Zandbeek
Ranch Hand

Joined: Aug 17, 2005
Posts: 37
1) it's also the name of geographical location which can become very confusing when you try to compile your holiday destination.

2) You have to pay taxes when you inherit something.

3) Read the whole thing Steve mentioned under The whole asking proper questions thingie That way all the nice and helpful people on here can help you out should you need it.

ok, so there was no question number 3, but perhaps you could check those links anyway. the JavaRanch Beginner's FAQ is great too by the way.


u is a letter, not a word.
Jack Wiesenthaler
Ranch Hand

Joined: Jul 26, 2001
Posts: 75
Originally posted by G Sirish Reddy:

2) Can you tell me some dis advantages of Inheritance ?


I agree with Patrick, taxes are a big disadvantage of Inheritance

Sirish Kumar Gongal Reddy
Ranch Hand

Joined: Oct 25, 2004
Posts: 109
Hi Patrick,
First of all i wanna know whether your an Java Professional or not.
I was asking about the Java language not the geographical location Java.
If u know the concerned answer about Java Inheritance please let me know

Regards,
Sirish Reddy
Stuart Gray
Ranch Hand

Joined: Apr 21, 2005
Posts: 410
'G' - the guys here are trying to encourage you to think a little bit first. Before you know the disadvantages of something, you need to know a little bit about it, right?
1) What are some features of Java? What were some of the design goals?
2) What are some features of inheritance? What does it try to achieve? Are there other ways of doing the same or a similar thing?
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Your question is lacking context. Like asking "what are the disadvantages of a screw driver?" Compared to what? In what situation?
[ August 31, 2005: Message edited by: Ilja Preuss ]

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Sirish Kumar Gongal Reddy
Ranch Hand

Joined: Oct 25, 2004
Posts: 109
Hi Ilja Preuss ,
Thanks for your suggestion first i will review some sfuff on dis advantages of java(i know all advantages of java) and then i will put some Question.
iam asking you in language design perspective.see each language has it's own set of advantages and disadvatages right ? here for java what are the disadvantages.Hope that you got my Question.
Thanking you,
Regards,
G Sirish Reddy.,
David Ulicny
Ranch Hand

Joined: Aug 04, 2004
Posts: 724
G Sirish Reddy, may I ask you what is the disadvantage of C++ ?


SCJP<br />SCWCD <br />ICSD(286)<br />MCP 70-216
Sirish Kumar Gongal Reddy
Ranch Hand

Joined: Oct 25, 2004
Posts: 109
Hi David,
Sure let me explain,
1)Extensive use of operator overloading, function overloading and virtual functions can very quickly make C++ totally unreadable,
2)C++ executables are big ( 500 kilobytes on HP-UX) compared to OIC executables ( 150 kilobytes on HP-UX).
3)Memory Managemt is alos big problme.
4)Platform Dependent.
Hope that some how clear.

Regards,
G Sirish Reddy.,
David Ulicny
Ranch Hand

Joined: Aug 04, 2004
Posts: 724
1) Depends on developer, every language can be totaly unreadable
2) I think this is not a real problem nowadays
3) Use smart pointers
4) Could be big advantage if want killing efective code
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Inheritance ?