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

  • 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.

主站蜘蛛池模板: 桐乡市| 久治县| 禄丰县| 平江县| 渭南市| 瑞金市| 建湖县| 家居| 渭源县| 门源| 夏河县| 台安县| 保定市| 合江县| 南漳县| 梨树县| 涟水县| 南汇区| 合山市| 南江县| 威远县| 扶沟县| 靖宇县| 资源县| 客服| 舟山市| 武乡县| 合肥市| 孝昌县| 阿瓦提县| 新乡县| 赤水市| 滦南县| 肇东市| 五河县| 五常市| 长岛县| 华亭县| 维西| 蒙城县| 宁城县|