Source |
CodingSec |
Identifiant |
94365 |
Date de publication |
2016-09-19 17:00:27 (vue: 2016-09-19 17:00:27) |
Titre |
What is the basic structure of the java program |
Texte |
In this post I will explain the structure of a Java program. A Java program is a collection of one or more classes, in which, one class contains the mainmethod. Before looking at the structure of a Java program, let's see the structure of a Java class. Structure of a Java class is as shown below: A Java class can contain the following: Package statement: A package statement is used to declare a Java class as a part of the specified package. More on declaring packages later. Package statement is optional. When we decide to write a package statement, it should
|
Envoyé |
Oui |
Condensat |
appeared basic before below: can class classes coding collection contain contains decide declare declaring explain first following: java later let looking more one optional package packages part post program security see should shown specified statement statement: structure theâ mainmethod used what when which will write |
Tags |
|
Stories |
|
Notes |
|
Move |
|