Advertisement

Object-Oriented Programming

  • Kent D. LeeEmail author
Chapter
Part of the Undergraduate Topics in Computer Science book series (UTICS)

Abstract

In this chapter you’ll learn about the implementation of the JCoCo virtual machine while at the same time you’ll be introduced to the Java and C++, two statically typed object-oriented programming languages. The primary focus of the chapter is on learning advanced object-oriented programming using Java and C++. Statically typed languages, like C++ and Java, differ from dynamically typed languages like Python in the way that type errors are caught. When running a Python program a type error can occur in any branch of code. One of the big problems with Python programming is that these errors may exist until every possible path in a Python program is executed. Testing Python code takes considerable effort to ensure every possible path is executed. While thorough testing is always a good idea, these type errors may not be discovered until much later in the development cycle.

Copyright information

© Springer International Publishing AG 2017

Authors and Affiliations

  1. 1.Luther CollegeDecorahUSA

Personalised recommendations