Basic HTML version of Foils prepared 16 May 98

Foil 45 Java Features -- It's Simple and Familiar!

From Introduction to Java to be used in (Scientific) Computing CEWES Java Tutorial -- Spring Semester 98. by Geoffrey C. Fox, Nancy McCracken


1 Java omits several rarely used, poorly understood and confusing features of C++ including operator overloading, multiple inheritance, pointers and automatic type coercions.
2 It adds automatic garbage collection which makes dynamic programming easier in Java than in C or C++.
  • No more mallocs!
3 It also adds 'Interface' construct, similar to Objective C concept, which often compensates for the lack of multiple inheritance by allowing method calling syntax to be "inherited".
4 The resulting language is familiar as it looks like C++ but is simpler and hence easier to program in.
5 Simplicity makes it easier to write optimizing compilers and so produce efficient code
6 It also results in a much smaller kernel which is suitable for planned Java ports to consumer electronic devices.

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Nov 29 1998