|
10 | 10 | import java.util.Scanner; |
11 | 11 |
|
12 | 12 | public class EasyIO { |
13 | | - /*** |
14 | | - * Printing Methods : 1.These methods will print what ever is written within |
15 | | - * circular brackets. 2.String must be Written with Double Quotes(" "). 3." + " |
16 | | - * Operator is used to concatenate String and to Separate Variables. 4.If user |
17 | | - * wants Next print Statement within a same line so,he can Enable(true) By |
18 | | - * writing "true" as second argument.Example, |
19 | | - * |
20 | | - * =================== Example ================ print("One line ",true); |
21 | | - * print("Second line"); output: Oneline Second |
22 | | - * =========================================== |
| 13 | + /*** |
| 14 | + Printing Methods : |
| 15 | + 1.These methods will print what ever is written within circular brackets. |
| 16 | + 2.String must be Written with Double Quotes(" "). |
| 17 | + 3." + " Operator is used to concatenate String and to Separate Variables. |
| 18 | + 4.If user wants Next print Statement within a same line so,he can Enable(true) |
| 19 | + By writing "true" as second argument.Example, |
| 20 | + |
| 21 | + =================== Example ================ |
| 22 | + print("One line ",true); |
| 23 | + print("Second line"); |
| 24 | + output: |
| 25 | + Oneline Second |
| 26 | + =========================================== |
23 | 27 | ***/ |
24 | 28 |
|
25 | 29 | public static void print(String str) // Print String |
@@ -108,12 +112,12 @@ public static void decolorize() { |
108 | 112 | System.out.printf("\033[0m"); |
109 | 113 | } |
110 | 114 |
|
111 | | - /*** |
112 | | - * Inserting Methods : 1.All of these methods used to accept input from front |
113 | | - * end user. 2.User can give description.It is the guidelines for the user. 3.If |
114 | | - * user wants Description and input in a single line then he can Enable(true)the |
115 | | - * Single line method. |
116 | | - ***/ |
| 115 | + /*** |
| 116 | + Inserting Methods : |
| 117 | + 1.All of these methods used to accept input from front end user. |
| 118 | + 2.User can give description.It is the guidelines for the user. |
| 119 | + 3.If user wants Description and input in a single line then he can Enable(true)the Single line method. |
| 120 | + ***/ |
117 | 121 |
|
118 | 122 | public static String insert() // Insert string |
119 | 123 | { |
@@ -363,10 +367,12 @@ public static float get_float(char color_number, String format, Object... args) |
363 | 367 |
|
364 | 368 |
|
365 | 369 |
|
366 | | - /*** |
367 | | - * Type Casting (Main) 1.All Type casting Methods has first Letter Capital. |
368 | | - * 2.Type casting is done with String,Integer,Double,Long,Float data types. |
369 | | - ***/ |
| 370 | + /*** |
| 371 | + Type Casting (Main) |
| 372 | + 1.All Type casting Methods has first Letter Capital. |
| 373 | + 2.Type casting is done with String,Integer,Double,Long,Float data types. |
| 374 | + ***/ |
| 375 | + |
370 | 376 |
|
371 | 377 | /*** Type Casting Integer ***/ |
372 | 378 |
|
|
0 commit comments