answersLogoWhite

0

Let us assume by "alphabet letters arrays" you mean you have an array of chars.

char[] letters = //some character array

Arrays.sort(letters);

// Letters is now sorted.

// Note that letters will be sorted according to the ASCII values

// of the chars. This means that all capital letters will be sorted

// before lower case. ('Z' will come before 'a')

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

What sort of plays are popular in Java and Bali?

Snuff films are quite popular in Java and Bali


What is the pseudo code of radix sort in java?

:-P


Use nested loops to create pyramid of letters?

a pyramid with letters java application


Indonesian island four letters?

The Indonesian island which has 4 letters is JAVA. Remember this :)


What is something you can drink that has only 4 letters?

Beer has only four letters. Milk, java, soda and wine have only four letters.


How to remove duplicate letters using for loops in java?

ill help you


What is a body of water 4 letters?

the java sea lake, pond


Sample of heap sort in java using string?

because of the gravity of the earth


What are the types and functions of libraries in Java?

Libraries are prewritten pieces of java code that are present to help us write code for our applications easily and effectively. for ex: Collections.sort() is a library function in Java that can be used to sort collections. This can be used instead of the programmer writing his own custom implementation of sort.


Can you use data structure in java?

Yes. Its just (sort of) like C and C++. The difference is that Java does not have pointers, it has references, but, philosophically, its the same thing.


What primitive type of array can be sorted using the Java build-in sort method?

By "Java built in sort method", I assume you are referring to Arrays.sort() in the java.util package. Arrays.sort() is overloaded to handle all primitive and Object types except boolean.


What is a 4 letter word second and fourth letters are the same?

Stat LAVA JAVA