A Little Taste of Java

Jacquie Barker · Apress eBooks · 2000

If the first part of this book is supposed to be about general object concepts, then why are we starting out with a chapter on Java? Because we’ve found that seeing a sprinkling of code examples definitely helps to cement object concepts. But, objects are ‘language neutral’: what you’ll learn conceptually about objects in Part 1 of this book, and about object modeling in Part 2, could apply equally well to Java, or C++, or Ada, or Smalltalk, or an as-yet-to-be-invented object oriented (OO) language. So, we could have used language neutral pseudocode — a natural language way of expressing computer logic without worrying about the syntax of a specific language like Java — for all of our code ‘snippets’ in Parts land 2. This brings us back full circle to our initial question, why are we introducing Java syntax so soon? These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Read the paper · More papers on PaperTik