System.out.println(101/14)
what is the output?
a)6
b)14
c)7.14
d)0
Answer Posted / arjun
There should be a semicolon(;)at ending of the code...
i.e
System.out.println(101/14);
Then ans wil b 7 only
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
What is skeleton and stub? What is the purpose of those?
How does regex work?
What is method overloading in java ?
Write a program to reverse a number in java?
What is the method overriding?
What are Normalization Rules? Define Normalization?
What is variable in java?
What class allows you to read objects directly from a stream in java programming?
What is volatile keyword in java
what is instanceof operator used in java?
What is difference between array and arraylist in java?
What type of variable is error flag?
What is the difference between throw and throws in java?
Can you tell me range of byte?
What is constructor chaining and how is it achieved in java?