|About | Ada Home | Quick Page | Guide | Welcome Tour | What's New? | Online RM95 | Ada FAQ | Your Feedback||
Some people believe that Java is "like" C++. However, usual C++ idioms do not carry over to Java because Java is not a superset of C++. Java is not even a subset of C++; it can at best be seen as a derivation with many modifications and extensions. Thus the syntax of Java and C++ may seem similar at a first glance, but the semantics and philosophy of these two languages is very different.
Java is closer to Ada 95 than to C++, syntax notwithstanding.
A minimal comparison of Java with C++ and Ada 95
(but with multiple subtyping)
(but supports MI)
(interface generated from code)
(but extensive polymorphism)
The comparison chart was developed on the basis of one sent by Bill Beckwith on the Team-Ada mailing list (and formatted in HTML by Bob Crispen).
Copyright © 1994-1996 by KSCE. All Rights Reserved. Reproduction in whole or in part in any form or medium without express written permission of KSCE is strictly prohibited. Ada Home and Home of the Brave Ada Programmers are trademarks of KSCE. For comments, additions, corrections, gripes, kudos, etc. please send email or use the Ada Home feedback page. Page last modified: 1996-10-01