@@ -75,7 +75,7 @@ how objects and variables work is very consistent. Third, you can write
7575powerful and interesting programs without a lot of work. However, Python
7676is representative of one kind of language, called a dynamic language.
7777You might think of Python as being fairly informal. There are other
78- languages, Like Java and C++ that are more formal.
78+ languages, like Java and C++ that are more formal.
7979
8080These languages have some advantages of their own. First, is speed: For
8181very large programs Java and C++ are going to give you the best
@@ -595,7 +595,7 @@ to find them in the next chapter.
595595 boolean hasNextDouble() returns true if the next thing to read is a double
596596 Integer nextInt() returns the next thing to read as an integer
597597 Float nextFloat() returns the next thing to read as a float
598- Double nextInt () returns the next thing to read as a Double
598+ Double nextDouble () returns the next thing to read as a Double
599599 String next() returns the next thing to read as a String
600600==================== ================ ======================================================
601601
@@ -800,7 +800,7 @@ is a new twist to the ``ArrayList`` declaration. Unlike Python where
800800lists can contain just about anything, in Java we let the compiler know
801801what kind of objects our array list is going to contain. In this case
802802the ``ArrayList `` will contain Integers. The syntax we use to declare
803- what kind of object the list will contain is the ``<``* Type* `` >``
803+ what kind of object the list will contain is the ``<Type> ``
804804syntax.
805805
806806Technically, you don’t *have * to declare what is going to be on an array
0 commit comments