1.

Which of these data type can be used for a method having a return statement in it?(a) void(b) int(c) float(d) both int and floatThe question was asked in homework.Question is taken from Methods Taking Parameters in portion Classes and Methods of Java

Answer» RIGHT option is (d) both INT and float

To EXPLAIN I WOULD say: None.


Discussion

No Comment Found

Related InterviewSolutions