官术网_书友最值得收藏!

Summary

This chapter introduced you to the use of the IntelliJ development environment, which is the basic tool that will be used throughout the book. Many of IntelliJ's features are common in other tools, along with the language used in menus and the overall programming interface.

You have seen some basic aspects of Java's syntax: how classes are defined, how code is nested inside curly braces, and how semicolons end each one of the commands. Comments help make the code more readable, both for others with whom you may collaborate and for yourself when reviewing your code in the future.

The primitive types offer a collection of possible variable types to be used in your programs to carry data, store the results of operations, and transfer information between different blocks of code.

All examples in this chapter are built from modifying an initial example that we used as a point of departure: "hello world"—that is, printing a string on the CLI. In later chapters, you will learn how to create your own classes from scratch, name them according to your needs, and store them in different folders. The next chapter will specifically cover statements in Java that control the flow of the programs.

KAY34

主站蜘蛛池模板: 广州市| 沿河| 南岸区| 始兴县| 乐陵市| 克什克腾旗| 西乡县| 商城县| 荆门市| 信丰县| 裕民县| 石狮市| 城口县| 酉阳| 淮南市| 达州市| 民勤县| 和顺县| 黄浦区| 灌阳县| 漾濞| 马龙县| 繁峙县| 达尔| 阿拉善左旗| 九龙县| 昌都县| 威信县| 五莲县| 宜州市| 公安县| 扶沟县| 长丰县| 东港市| 乌海市| 永昌县| 招远市| 南平市| 尚志市| 佛学| 潞西市|