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
What is singleton class example?
Is java a pure object oriented language?
What is a java object and java application?
What is literal example?
Can a class with private constructor be extended?
What are different types of states exist for a thread?
What about anonymous inner classes in java?
What is ordered map in java?
State some advantages of java?
What are green threads in java?
What is the different between get and post?
Can we override a variable in java?
what is the messsage u r going to get from an objectoriented programing?
What data type is string java?
What do you mean by ternary operator in java?