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 |
From the two, which would be easier to write: synchronization code for ten threads or two threads?
Explain the role played by Java Virtual Machine in Java Programming?
What is the declaration statement?
What is the difference between Resultset and Rowset.
what us Dyna action form?
4 Answers Aithent Technologies,
How many threads can java run?
What is overriding in java?
List some important characteristics on jre
What is a treeset in java?
How do you sort in ascending order in java?
suppose we have an interface & that interface contains five methods. if a class implements that interface then we have to bound that to give tha definition of all five methods in that class. If we declare that class as abstract then can we call only two methods to give the deinition of that method & i don't want to give the definition of all the methods? can it possible
how to handle exceptions in ejb?