Close
Close Window

MHC S25 COMSC 205: Data Structures

Chapter 1 Intro to Java I: Data Types and Hello World!

«  0.1. Course Resources   ::   Contents   ::   1.2. Why Learn another programming Language?  »

1.1. Introduction

This book assumes that you are already familiar with the Python programming language. We will use Python as a starting point for our journey into Java. We will begin by looking at a very simple Java program, just to see what the language looks like and how we get a program to run. Next, we will look at the main constructs that are common to most programming languages:

  • Data Types

  • Loops

  • Reading user input

  • Conditionals

Once we have the basics of Java behind us we will move on to look at the features of Java that are both unique and powerful.

Note

We’ll (the instructors) add comments and tips throughout that will help connect the readings to class!

   «  0.1. Course Resources   ::   Contents   ::   1.2. Why Learn another programming Language?  »

Close Window