Computer Science, asked by reetamishra12459, 5 months ago

Answer the following questions:
1. What are the three ways to input the values in a Java Programming?
2. Write down the syntax with reference to Java Programming
(a) to accept an integral value from the user from console
(b) to accept a fractional number from the user from console
(c) if - else statement​


littleleo: hi
littleleo: hi again
reetamishra12459: hlo
Yengalthilak12: hi
Yengalthilak12: thrive
Yengalthilak12: thrice
reetamishra12459: what thrice
littleleo: say yes

Answers

Answered by Anonymous
2
  1. The three ways to take the input in java are: "By Buffered Reader Class","By Console Class" and "By Scanner Class."
  2. to accept a fractional number from the user from console
Similar questions