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 |
What is the use of http-tunneling in rmi?
How do you escape in java?
What are Font and FontMetrics classes?
What is ResourceBundle class?
What is classname class in java?
Define linked list and its features with signature?
What’s the difference between the methods sleep() and wait()?
What is printwriter in java?
What is off heap memory?
What is variable and its types?
What is method Overriding in the perspective of OOPS?
v-model life cycle