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
What is double word?
how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT
What is abstraction in java?
For class CFoo { }; what default methods will the compiler generate for you>?
Is an empty arraylist null?
What is the difference between post and put?
Explain what access modifiers can be used for variables?
Tell us something about an iterator.
What is reverse function?
What is the difference between an interface and an abstract class?
Difference between abstract and concrete class ?
Can we increase size of array?
Difference between this() and super() ?
How do you convert an int to a double in java?
What is ide with example?