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
Where is the singleton class used?
Is main an identifier?
Can we use synchronized block for primitives?
if u open login & logout ,how can udisplay the timelogin & logout members ?
What is a predicate method?
What is a null point?
What is indexof in java?
What is the benefit of using enum to declare a constant?
If you do not want your class to be inherited by any other class. What would you do?
How can we break singleton in java?
What is byte code and why is it important to java’s use for internet programming?
Difference between string s= new string (); and string s = "abv";?
What is polymorphism and what are the types of it?
What is function overriding and overloading in java?
What is the difference between JDBC 1.0 and JDBC 2.0?