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 class of exceptions are generated by the java run-time system?

640


What are the differences between abstract class and interface?

517


what is anonymous class in java?

562


How to call one constructor from the other constructor ?

619


Can you start a thread twice in Java?

647






Is there is any difference between a scrollbar and a scrollpane?

573


What are computer functions?

490


What are measurable parameters?

579


Can you call a method in a method?

537


Are registers volatile?

543


What is autoboxing and unboxing?

593


What is default locale java?

545


Can we serialize singleton class?

548


What is the difference between abstraction and encapsulation?

568


What does sizeof return?

567