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

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

主站蜘蛛池模板: 麟游县| 买车| 县级市| 鄂伦春自治旗| 巩义市| 灵石县| 玉龙| 新余市| 大连市| 夏津县| 巍山| 星子县| 临夏县| 利川市| 天台县| 岑巩县| 怀宁县| 天峨县| 嵩明县| 康马县| 波密县| 天祝| 宁明县| 大渡口区| 岑巩县| 芦山县| 吴忠市| 武安市| 报价| 台东市| 柳江县| 沅江市| 厦门市| 深泽县| 昌都县| 通城县| 资兴市| 博湖县| 潮州市| 汪清县| 两当县|