1.

Which of these literals can be contained in float data type variable?(a) -1.7e+308(b) -3.4e+038(c) +1.7e+308(d) -3.4e+050I had been asked this question in an interview.This key question is from Integer and Floating Data Types in portion Data Types, Variables and Arrays of Java

Answer»

The correct ANSWER is (B) -3.4e+038

Easy explanation: Range of FLOAT data TYPE is -(3.4e38) To +(3.4e38)



Discussion

No Comment Found

Related InterviewSolutions