Home » Java Programming » Declarations and Access Control

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; } }

← Previous Next →

Discussion & Comments

No comments yet. Be the first to comment!