Now that you have a basic understanding of object-orientation, we'll move on to the practicalities of Java, which is the programming language we'll be studying. The Java-related concepts you will learn in this unit are in many cases directly transferable
to a number of other languages. We will begin by learning about "Hello World", a basic software application that simply prints "Hello World" to the screen as a means of demonstrating the most essential elements of a programming language, and will
then move on to discuss variables, literals, data types, and operators. In addition, we will also learn about two different styles of adding comments to the code. By the end of this unit, you should have an understanding of Java basics and be prepared
to apply those concepts later in the course.
Completing this unit should take you approximately 9 hours.
Use this page to quickly review what you've learned so far.
This chapter discusses naming and coding conventions as well as reserved words in Java. When you go through this chapter, you'll get some hands-on experience with writing in Java.
Java classes and interfaces can be organized into packages to group related types and for name-space management.
Read this chapter, which covers variables and arithmetic operations and order precedence in Java.
Read this chapter, which discusses arithmetic operations in greater detail along with solving expressions with mixed data types.
The String class is used for text manipulation. As you read, you will learn different ways to create Strings, methods to manipulate Strings, the String concatenation operator '+', and about how Strings are immutable.
This chapter accompanies the previous one. Read it for even more info on Strings.
Take this assessment to see how well you understood this unit.