• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Introduction to Computer Science

Module 2. The Java language

The first module Introduction to Computers and Programming aims to define and introduce the fundamental keywords in computer science and programming. The learning objectives of this module are getting acquainted with the common terminology related to computers and having a first structural perspective to their functioning.

The run cycle of a Java program

Java is a language developed for the purpose of developing web applications, therefore it is designed to be compatible with any operating system and machine language. In this short lecture we describe the principles of writing and executing programs in Java.

Java syntax

Just like any language, Java also has its own syntax and rules to allow communicating and implementing different types of logical concepts. Here we present briefly the main structure and syntax of any Java program.

Programming errors

We have written our code, and now it’s time to test it. What are typical mistakes or problems in different types of programs? Let’s see with some examples the common programming errors and how they are handled.

Software development process

Like any other program, Java programs are also developed for a given application in mind, ranging from a piece of software used in a simple scientific setting, to a large-scale product deployed to the usage of millions of users. Therefore, in addition to the language, developing efficient and smart designs for software often also requires familiarity with the useful approaches to design and implement software solutions, and maintain them in the long term.

Quiz

When your review is complete, please move to the self-assessment quiz to make sure your understanding of the Java language and the software development process are clear.

Primary Sidebar

List of Contents

  • Course Description
  • Module 1. Introduction to Computers and Programming
  • Module 2. The Java language
  • Module 3. Variables and Data Types
  • Module 4. Logical expressions and conditional executing
  • Module 5. Characters and Strings
  • Module 6. Loops
  • Module 7. Arrays
  • Module 8. Methods
  • Module 9. Introduction to the Object-Oriented Programming Paradigm
  • Module 10. Classes and Objects
  • Module 11. Inheritance and Polymorphism
  • Module 12. Interfaces and Abstract Classes
  • Module 13. Exception handling
  • Module 14. File I/O
  • Module 15. Recursion
  • Instructions for software installation
  • Self-assessment quizzes

Footer

This website has been created by Duygu Ataman, Devesh Devendra and Akash Harikrishanan. We thank New York University professors Craig Kapp, Anasse Bari and Gizem Kayar for sharing their feedback and resources to implement a successful online learning platform.

Contact

E-mail: ataman@nyu.edu

www.duyguataman.com

Dr. Duygu Ataman

Assistant Professor and Faculty Fellow, Courant Institute for Mathematical Sciences

Copyright © 2025 · eleven40 Pro on Genesis Framework · WordPress · Log in