0

how to create a single line command in java

12th Jul 2017, 6:55 AM
M.Maria paris manoj
M.Maria paris manoj - avatar
2 Answers
+ 2
// for single line command..., /* for multi line command */
12th Jul 2017, 7:12 AM
muthuraj
muthuraj - avatar
+ 1
Depends on what command you want to type. For example, the if statement can be written in one line as: (4>6)?4:6
12th Jul 2017, 7:23 AM
Kuanyshkereyev Farkhad
Kuanyshkereyev Farkhad - avatar