Discussion :: Java.lang Class - General Questions (Q.No.3)
|Rakesh said: (Mar 24, 2011)|
|Then what about 3?
Number 3 is also a integer data type so this is also correct one.
Why it is wrong? can you give me explanation.
|Reddy said: (Jun 23, 2011)|
|It will take only two arguments only.|
|Dasoju said: (Dec 9, 2013)|
|However in the 4th option, the arguments of type double and float, My doubt is how can we compare double with float?
|Manoj Kumar said: (Apr 30, 2014)|
|1, 2, 4 are correct. 3 is wrong because it has 4 int values, max can take only two arguments i.e., two int or float values.|
Post your comments here:
Email : (optional)
» Your comments will be displayed only after manual approval.