Basic HTML version of Foils prepared 20 Sept 97

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

From Java Tutorial - Summer 1997 Part 1:Introduction to Java Language CEWES Tutorial, Classes SU/Jackson State -- July 22-25 and Fall 97. by Nancy J. McCracken,Geoffrey C. Fox


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 It also results in a much smaller kernel which is suitable for planned Java ports to consumer electronic devices. Base (alpha) interpreter is ~40Kb, libraries and threads add additional 175Kb.

in Table To:


© on Sun Oct 12 1997