You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-2Lines changed: 15 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -54,14 +54,14 @@ class Class_name{
54
54
55
55
For running the Code [Window] :
56
56
57
-
```
57
+
```bash
58
58
javac file_name.java
59
59
java file_name
60
60
```
61
61
62
62
Code Output :
63
63
64
-
```
64
+
```bash
65
65
Hello World !
66
66
```
67
67
@@ -77,6 +77,19 @@ Below we have the explanation regarding the key elements in the above syntax :-
77
77
- String[] args : It specific that the user may opt to enter parameters to the JAVA Program. Both forms String[] args or String args[] are acceptable by the compiler.
78
78
- System.out.println : This is used to print anything on the console or the output screen.
79
79
80
+
## Data Types :
81
+
82
+
-**Boolean** : Used to store the true (1) or false (0).
83
+
-**Byte** : This data type is useful in saving the memory space in case for working with large arrays.
84
+
-**Short** : This data type comes under the category of integer of 16 bit storage.
85
+
-**Int** : This data type is used for storing the numerical values within a particular limit.
86
+
-**Long** : This data type is used for storing the unsigned 64-bit numbers at a large storage limit.
87
+
-**Float** : This data type is used for storing the 32-bit decimal pointing integers in Source Code.
88
+
-**Double** : This data type is used for storing the double precision values in the Source code.
89
+
-**Char** : This data type is used for storing the character in any particular variable.
90
+
91
+
- Note : Code is in the Basic.java file above in the Repo.
0 commit comments