November 2024
Intermediate to advanced
499 pages
12h 13m
English
In this chapter, you will learn about the basic data types and control structures of the Java language. I assume that you are an experienced programmer in some other language and that you are familiar with concepts such as variables, loops, function calls, and arrays, but perhaps with a different syntax. This chapter will get you up to speed on the Java way. I will also give you some tips on the most useful parts of the Java API for manipulating common data types.
The key points of this chapter are:
In Java, methods are declared in a class. You invoke a non-static method on an object of the class to which the method belongs.
Static methods are not invoked on objects. Program execution starts ...
Read now
Unlock full access