What is the widest valid returnType for methodA in line 3?public class ReturnIt { returnType methodA(byte x, double y) /* Line 3 */ { return (long)x / y * 2; } } - Study24x7
Social learning Network
study24x7

Default error msg

Login

New to Study24x7 ? Join Now
Already have an account? Login
20 Feb 2023 04:29 PM study24x7 study24x7

What is the widest valid returnType for methodA in line 3?public See more

A

int

B

byte

C

long

D

double

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles