Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Java
  3. Question
Java

A long bigger than Long.MAX_VALUE

Asked by Salma Nabeel Sep 14, 2025 2.8K views 1 answer
Share

About this question

What happens if you need a number bigger than Long.MAX_VALUE in Java, and how can you handle it?  Since long has fixed limits, Java provides special classes like BigInteger to work with values beyond this range.

Your answer

1 Answer

More Java discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Java Blogs

Guides, tips and career advice on Java from JanBask experts.