Check if value fits in byte

Java Easy 4 views
Back to Questions
Next Convert char digit to int Easy N

Problem Description

Task: return true if x can fit in a signed byte (-128..127).

Input Format

Java method

Output Format

Return value

Constraints

Use range check.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Next