About 50 results
Open links in new tab
  1. Introduction to Programming in Java · Computer Science

    Sep 24, 2024 · Our textbook Computer Science [ Amazon · Pearson · InformIT ] contains Introduction to Programming in Java as its first four chapters. The second half of the book explores core ideas of …

  2. Introduction to Computer Science and Java Programming

    May 21, 2011 · A key feature of the book is the manner in which we motivate each programming concept that we address by examining its impact on specific applications, taken from fields ranging …

  3. Java Programming - Princeton University

    Jul 19, 2016 · Our goal in this chapter is to convince you that writing a computer program is easier than writing a piece of text such as a paragraph or an essay. In this chapter, we take you through these …

  4. Lectures - Princeton University

    Mar 13, 2024 · In Java, you can create your own data types and use them in your programs. In this and the next lecture, we show how this ability allows us to view our programs as abstract representations …

  5. Boolean Logic - Princeton University

    Jul 25, 2016 · You can incorporate Boolean algebra into your Java programs, in two different ways. Java’s boolean data type: In Section 1.2, we introduced boolean operations with the values true and …

  6. We use the Java programming language for all of the programs in this book— we refer to Java after programming in the title to emphasize the idea that the book is about fundamental concepts in …

  7. Java Programming Cheatsheet - Princeton University

    Sep 21, 2025 · Java Programming Cheatsheet We summarize the most commonly used Java language features and APIs in the textbook. Hello, World. Editing, compiling, and executing. Built-in data types. …

  8. Java Programs in the Textbook - Princeton University

    Sep 25, 2024 · Below is a table of the Java programs in the textbook. Click on the program name to access the Java code; click on the reference number for a brief description; read the textbook for a …

  9. Formal Languages - Princeton University

    Aug 6, 2016 · Java implementation. DFA.java takes a DFA specification (from a file named on the command line) and a sequence of strings from standard input and prints the result of running the …

  10. Frequently Asked Questions - Princeton University

    Sep 25, 2024 · We use Java because it is widely available, widely used, embraces a full set of modern abstractions, and has a variety of automatic checks for mistakes in programs, so it works well for …