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 ...
Get Technical Java™: Developing Scientific and Engineering Applications now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.