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 public static?
Explain about collection interface in java?
How to write custom exception in java?
What is the difference between menuitem and checkboxmenu item?
Explain about interthread communication and how it takes place in java?
What is lexicographically smallest string?
What is the use of conditional statement?
what is the difference between yielding and sleeping? : Java thread
What is the maximum size of a string in java?
What is difference between an object and a class?
What is application system?
What is the difference between a checked and an unchecked exception?
What is data and its types?
How does linkedhashmap work in java?
Why java is called not pure object oriented language?