Computer Science, asked by Thenerdwithglasses, 1 year ago

If blue j is a case sensitive then how can we write d or D ,forF To specify that a value is double or Float

Answers

Answered by Maijoli1111
0
I think the value is float

Anonymous: Read the question again, dude !
Answered by Anonymous
1
We can use capital/small f/d because they are the type indicates for numeric literals, float or double, in Java and using either conveys the same message to the compiler - that though the literal can fit in another type, it gotta be be in this , explicitly(it's kinda like casting). The java language has registered it's meaning for the same, no matter what the case is(NOT JUST IN BLUEJ, IT'S THE PROTOCOL FOR JAVA LANGUAGE).

SO, YOU CAN USE "F/D/L" OR "f/d/l" (not recommended tho)



Sly
Similar questions