Skip to content

Commit 95f7c0b

Browse files
committed
update
1 parent 16a8598 commit 95f7c0b

File tree

1 file changed

+20
-13
lines changed

1 file changed

+20
-13
lines changed

core-java/java-basics/index.md

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Java is class-based, **object-oriented** programming language developed by *Jame
1212
<br/>
1313

1414
## History of Oak
15+
<hr/>
1516
<br/>
1617
Java implementation was begun in 1991 by *James Gosling, Mike Sheridan, and Patrick Naughton* a team of engineers at Sun Microsystems known as the Green Team. The name was inspired by Java coffee and the first version released was Java 1.0.
1718
- *Arthur Van Hoff* rewrote the Java 1.0 compiler to strictly comply with its specifications.
@@ -26,6 +27,7 @@ Java implementation was begun in 1991 by *James Gosling, Mike Sheridan, and Patr
2627
- At that time Java made itself a preferred language for various applications including, Internet programming, Gaming & e-business etc.
2728

2829
## Features of Java
30+
<hr/>
2931
<br/>
3032

3133
- Java is known for its simplicity, robustness and security features making it a popular choice for enterprise-level applications.
@@ -41,6 +43,7 @@ Java implementation was begun in 1991 by *James Gosling, Mike Sheridan, and Patr
4143
- It helps to create modular programming by providing modularity like: abstract classes, interfaces, inheritance etc.
4244

4345
## Key Features of Java
46+
<hr/>
4447
<br/>
4548

4649
1. **Platform Independent**:
@@ -83,6 +86,8 @@ Java implementation was begun in 1991 by *James Gosling, Mike Sheridan, and Patr
8386
<br/>
8487

8588
# How we can create our first Java program
89+
<hr/>
90+
8691
- Creating file name it use (**.java**) extension in any IDE(**Integrated Development Environment**) IntelliJ IDEA, Eclipse, or NetBeans.
8792
- Compiling the file/program with (java compiler **javac**) convert the source code -> bytecode(**.class**) file which can be execute on any os having JVM.
8893
- Running the program using (**java**) tool the JVM execute the compiled bytecode into machine level code using JIT and MC executed by the CPU.
@@ -109,6 +114,7 @@ Java implementation was begun in 1991 by *James Gosling, Mike Sheridan, and Patr
109114

110115

111116
## Basic Terminologies in Java:-
117+
<hr/>
112118
<br/>
113119

114120
#### **JVM** (*Java Virtual Machine*)
@@ -132,18 +138,19 @@ It is intermediate code generated by JVM and it is platform independent.
132138

133139
The name itself suggests that it is the kit which includes each tool used to run Java on your machine like:
134140

135-
| **Tool** | **Description** |
136-
|--------------|----------------------------------------------------|
137-
| `javac` | Java compiler |
138-
| `JRE` | Java Runtime Environment |
139-
| `jdb` | Java Debugger |
140-
| `javadoc` | Java Documentation Generator |
141-
| `jar` | Java Archive Tool |
142-
| `jshell` | Interactive Java shell (since Java 9) |
143-
| `javap` | Class file disassembler |
144-
| `jdeps` | Dependency analyzer |
145-
| `jlink` | Custom runtime image builder |
146-
| `jmod` | Java Module tool |
147-
| `jconsole` | Java Monitoring and Management Console |
141+
| **Tool** | **Description** |
142+
|:------------:|:------------------------------------------------------:|
143+
| `javac` | Java compiler |
144+
| `JRE` | Java Runtime Environment |
145+
| `jdb` | Java Debugger |
146+
| `javadoc` | Java Documentation Generator |
147+
| `jar` | Java Archive Tool |
148+
| `jshell` | Interactive Java shell (since Java 9) |
149+
| `javap` | Class file disassembler |
150+
| `jdeps` | Dependency analyzer |
151+
| `jlink` | Custom runtime image builder |
152+
| `jmod` | Java Module tool |
153+
| `jconsole` | Java Monitoring Console |
148154

155+
<br/>
149156
So, **JDK is the toolbox, not just the hammer**.

0 commit comments

Comments
 (0)