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

What does java natural ordering mean?

Asked by Aditya Yadav Oct 10, 2022 1.2K views 1 answer
Share

About this question

 I've found two definitions – roughly:


the order of things that feels natural or standard to humans (like alphabetic order)

the order of things that is natural or intrinsic to the data type in question (like ordering numbers from smaller to bigger)

The two can obviously overlap, since what's "natural to a data type" is often something humans decided is natural.

Is it possible that "natural" comes from "natural language"?

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.