O'Reilly logo

Technical Java™: Developing Scientific and Engineering Applications by Grant Palmer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Moving from C++ to Java

If you are moving from C++ to Java there is good news. The transition from C++ to Java is easier than the transition from C or Fortran to Java. The developers of Java based their language in part on C++. Much of the basic syntax is the same. Java is also an object-oriented language. You will still be defining classes, constructors, and so on. One way to think about Java is that it is a streamlined, expanded, purely object-oriented version of C++.

The language is streamlined because the developers of Java sought to include many of the more useful features of C++ while eliminating things that were of marginal value and/or could lead you into trouble. One of the key goals of the developers of Java was to eliminate ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required