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

Answer Posted / arjun

There should be a semicolon(;)at ending of the code...
i.e
System.out.println(101/14);

Then ans wil b 7 only

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is public static?

500


Explain about collection interface in java?

556


How to write custom exception in java?

607


What is the difference between menuitem and checkboxmenu item?

788


Explain about interthread communication and how it takes place in java?

548






What is lexicographically smallest string?

607


What is the use of conditional statement?

566


what is the difference between yielding and sleeping? : Java thread

526


What is the maximum size of a string in java?

553


What is difference between an object and a class?

615


What is application system?

507


What is the difference between a checked and an unchecked exception?

555


What is data and its types?

576


How does linkedhashmap work in java?

522


Why java is called not pure object oriented language?

582