Which statement most accurately describes Java rules for return types (choose 1)?
Which in turn statement almost all accurately describes Java policies for go back types (choose 1)
SOME SORT OF.You can certainly return styles int, 2 bottle, float, boolean along with String in a very method declaration
B.You can easily declare many type that they are returned from your method declaration
D.You could return many Java types and void inside a method declaration
D.The delivered object originating from a method won’t have to check the kind of the process declaration
AT THE.Methods can never return null
well absolutely C
when you can gain the merchandise of just about any class or perhaps java primitive datatypes including int or even float
if a way does definitely not return virtually any value in that case it should be declared emptiness.
Leave a Reply
You must be logged in to post a comment.