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

  • The Java Workshop
  • David Cuartielles Andreas G?ransson Eric Foster Johnson
  • 179字
  • 2021-06-11 13:05:18

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.

主站蜘蛛池模板: 忻州市| 璧山县| 兴国县| 铁岭县| 远安县| 巴彦县| 绥滨县| 新民市| 雷州市| 梓潼县| 自贡市| 海阳市| 珲春市| 北票市| 平湖市| 巩义市| 红原县| 华坪县| 正蓝旗| 耿马| 翁源县| 启东市| 蚌埠市| 曲松县| 准格尔旗| 扎鲁特旗| 辉县市| 丰原市| 台山市| 汽车| 赞皇县| 济源市| 平江县| 海盐县| 门头沟区| 河津市| 曲周县| 田林县| 泸水县| 柘城县| 红原县|