
Boiler Plate Code of Java
In today's we are going to explore what is meant by boilerplate code of java.
1:What is meant by boilerPlate
.The word boilerPlate means standard Piece of text.
.In programing Boilerplate means the way to written code.
2:What is code?
Set of instruction written in programing language is called code in programing.
Example:
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
is an example of code using java language.
.Types of code
There are Two types of code.
1.Source code.
2.Machine code.
:Source code
The code which written by us in any Programing language is called Source code.
Example:
is an example of source code written in java.
:Machine code
The sequence of binary number system which understand computer is called Machine code.
Example:
is an example of machine code.
.Uses of code
- To Build Software (Apps,Website,Games)
- To control machines (Traffic light,ATMs,Robot).
- To automate tasks (bot,data analysis)
3:Boilerplate code means:
Standard ,repetitive code that must be included in every program is called Boilerplate code.
4:SEE BOILERPLAT CODE OF JAVA LANGUAGE :
public class Main {
public static void main(String[] args) {
}
}
It is a boilerplate code of java
Read more about this click here
0 Comments