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 class of exceptions are generated by the java run-time system?
What are the differences between abstract class and interface?
what is anonymous class in java?
How to call one constructor from the other constructor ?
Can you start a thread twice in Java?
Is there is any difference between a scrollbar and a scrollpane?
What are computer functions?
What are measurable parameters?
Can you call a method in a method?
Are registers volatile?
What is autoboxing and unboxing?
What is default locale java?
Can we serialize singleton class?
What is the difference between abstraction and encapsulation?
What does sizeof return?