System.out.println(101/14)
what is the output?
a)6
b)14
c)7.14
d)0
Answers were Sorted based on User's Feedback
Answer / sanchit
Answer is 7,
as int is the default datatype for numeric values.. Not float.
| Is This Answer Correct ? | 17 Yes | 0 No |
When is update method called?
What is an anonymous class in java?
What happens to the Exception object after handling an exception?
Can I declare a class as private?
What two classes are used to read data only?
0 Answers TryTechnicals Pvt Ltd,
List some important characteristics on jre
List down the methods and interfaces of collection class in java.
Explain the differences between abstraction and encapsulation?
When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?
What is the difference between the continue and break statement?
Where can I find data structures question and answers with comprehensive working code written in Java
What is the difference between assignment and initialization?