Basic HTML version of Foils prepared 16 May 98

Foil 51 Java Features -- It's Robust

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


Java enforces compiler-time and download-time(byte code verifier) type checking and eliminates this way some error prone constructs of C/C++.
Pointer arithmetic is fully eliminated which allows e.g. for runtime checking of array subscripts and enforces security of the Java model.
Explicit declarations are always required, i.e. C-style implicit declarations are abandoned.
  • This allows the Java compiler to perform early error detection.
Rapid prototyping in Java is less natural than in JavaScript,Lisp, Tcl, Smalltalk or Perl, but the software quality assurance of Java is higher than in these more dynamic and 'forgiving' languages.
Note Java can NEVER overwrite itself as types of all arguments and methods are checked



© 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