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

Introduction

When learning how to program in almost any programming language, the first example you will typically test is called "hello world." It is the simplest application possible; the aim is to write the expression "hello world" to whatever user interface the programming environment offers. Executing this program will introduce you to the basics of writing code using the IntelliJ editor, utilizing different types of data to be printed to the user interface and adding comments to your code.

When writing your first program, you will also discover how Java's syntax is constructed and how it relates to other languages such as C or C++. Understanding the syntax is key to starting to read code. You will learn how to distinguish where commands and functions begin and end, how parameters are passed over between blocks of code, and how to leave comments that will help you when revisiting your software in the future.

This chapter covers the basics of writing and testing programs as a first step toward building all the code that you will find in this book.

主站蜘蛛池模板: 乌什县| 永寿县| 疏勒县| 十堰市| 灵武市| 巴林右旗| 长宁县| 肃南| 西和县| 视频| 伊金霍洛旗| 边坝县| 唐海县| 新巴尔虎右旗| 双桥区| 赤壁市| 灌云县| 象州县| 汤阴县| 夏津县| 乌兰察布市| 石景山区| 江川县| 武山县| 巴楚县| 宜章县| 宜城市| 涡阳县| 香河县| 岗巴县| 卢湾区| 卓尼县| 临武县| 友谊县| 富蕴县| 南召县| 石柱| 武隆县| 洛隆县| 泗阳县| 泗阳县|