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 |
Can java arraylist hold different types?
What happens if we don’t override run method ?
What does serializing data mean?
Can we override constructors?
wht is mean by dirty read?
Are global variables initialized to zero?
What do you mean by the term transient?
Which package is imported by default?
what is the difference between HashMap and Hashtable
17 Answers Value Labs, Virtusa,
what is use of threads how many ways to create thread
Can a static class have a constructor java?
What is the advantage of OOP in java?