System.out.println(101/14)
what is the output?
a)6
b)14
c)7.14
d)0

Answer Posted / sivadasan

Answer is 7 Only...it will not print the float value..

Is This Answer Correct ?    17 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is parsing and its types?

581


what do you mean by marker interface in java?

541


What does sprintf return?

583


Which is faster set or list in java?

524


How do you clear a method in java?

536






What are the four pillars of java?

608


What is defined as false sharing in the context of multithreading?

500


What is difference between adapter class and listener?

495


what is the difference between thread and runnable types? : Java thread

542


Explain the Propertie sof class?

584


What do you understand by abstract classes?

596


What is the difference between a switch statement and an if statement?

513


What are the differences between heap and stack memory?

543


What is the difference between the prefix and postfix forms of the ++ operator?

552


Is java 1.7 the same as java 7?

529