GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  J2EE  >  Core Java
Go To First  |  Previous Question  |  Next Question 
 Core Java  |  Question 403 of 502    Print  
What is procedure to sort the strings in array list?

  
Total Answers and Comments: 2 Last Update: March 11, 2008     Asked by: PJ.Sateesh 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
September 14, 2007 06:45:18   #1  
g4java Member Since: July 2007   Contribution: 28    

RE: What is procedure to sort the strings in array lis...
Use Collections.sort()
 
Is this answer useful? Yes | No
March 11, 2008 06:58:25   #2  
sampra Member Since: February 2008   Contribution: 278    

RE: What is procedure to sort the strings in array list?
Collections.sort(al)
 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : HashMap is an unordered and unsorted map. Allow one null key and many null values. Lists are collections that maintain their elements in order, and can contain duplicates. Set interface do not allow duplicate elements. A set can contain at most ...

JVM is platform independent/dependent?why? 2) which one is faster in execution Array List or Array? why?

When we are sending the serialized array object thro the network, what is being passed ? is the value or the reference ?
Read Answers (5) | Asked by : aadi

br />1.what is oracle.2.what is major differenece oracle8i and oracle9i.4.tell me some thing ur self.5.please tell me about oops.6.what is single inheritance.7.what is multiple inheritance.8.can java support 
Latest Answer : 8.can java support multiple inheritance.java support multiple inheritance for interfaces not fro classes25.what is difference between procedure and functions.function returns only one value where as procedure returns more than one value ...
Read Answers (11) | Asked by : rajjava

Latest Answer : immutabe string means once string is created you can not insert or append or remove any character from the string. Since java.lang.String class is immutable thess operations are not allowed in it.mutable string means you can insert,append or delete any ...
Read Answers (2) | Asked by : chandu

we can compare two Strings with (==) when we assign some string value to the String variable,but if we create an object to that strings and compare eachother we cant use(==) operator ,because we can compare 
Latest Answer : == operator checks to see if two references are referring to the same location on memory.This is also called shallow comparison..equals checks to see if the two objects match each other. This is also known as deep comparison. ...
Read Answers (5) | Asked by : venkat

arraylist is resizable where as using array it is not possible.  
Latest Answer : ArrayList is a part of the Collection Framework.We can store any type of objects, and we can deal with only objects.It is growable.Array is collection of similar data items.We can have array of primitives or objects.It is of fixed size,We can have multi ...
Read Answers (10) | Asked by : tulasi

Strings are immutable.But String s="Hello"; String s1=s+"World"; S.O.P(s1); means printing "HelloWorld".How ?
Read Answers (15) | Asked by : chandu

Iterator : Enables you to cycle through a collection,obtaining or removing elementsListIterator :It extends Iterator allow bidirectional traversal of list & the modification of element 
Latest Answer : Iterator :--- Iterator takes the place of Enumeration in the Java collections framework. One can traverse throughr the the collection with the help of iterator in forward direction only and Iterators allow the caller to remove elements from the underlying ...
Read Answers (2) | Asked by : shivananda

Latest Answer : Yes.Array can have zero length in java. ...
Read Answers (3) | Asked by : KanchanT


 Sponsored Links

 
Related Articles

Service Oriented Java Business Integration Review

Service Oriented Java Business Integration Review Introduction If you ve read through the texts which give you an introduction to SOA or Web Services you will often find them to be quite frustrating and the reason for this is because they spend too much time referencing business processes which are
 

jQuery - Finessing the Sort Key

Learning jQuery Finessing the Sort Keys Now we want to apply the same kind of sorting behavior to the Author s column of our table By adding the sort alpha class to its table header cell the Author s column can be sorted with our existing code But ideally authors should be sorted by last name not fi
 

Java and Client Server Models

Java and Client Server Models The Role of Client Servers on the Web Client server models provide the essential mechanisms for working with the Internet In fact most of the World Wide Web is built according to this paradigm In client server models the web browsers run by millions of users are the cli
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

JavaScript Array Operations

JavaScript Array Operations In this JavaScript tutorial you will learn about different operations with array in JavaScript how to use the for in statement Combining Operations between arrays and within elements of an array joining two or more arrays and joining elements of an arrays along with synta
 

XML Remote Calling Procedure

XML Remote Calling Procedure XML RPC or the XML Remote Calling Procedure is a set of compilations and implementations which allow certain programs to run on complex platforms or operating systems and allows them to make Remote Procedure calls on the Internet The Remote Procedure Calling Protocol use
 

JavaScript Array Object Methods – Part II

JavaScript Array Object Methods Part II In this JavaScript tutorial you will learn about on array object methods slice splice toString shift and unshift methods along with general syntax and examples mosgoogle center slice By using the methods of the array object the programmer is able to retriev
 

JavaScript Array Object Methods – Part I

JavaScript Array Object Methods Part I In this JavaScript tutorial you will learn about Array Object Methods concat join pop push and reverse methods  along with general syntax and examples mosgoogle center concat The concat method is used to join two or more Array objects together to pro
 

Using UML with Java

Using UML with Java While Java is not a new language its application for the development of embedded systems is quite new Developers are beginning to take a second look at modeling languages such as UML and many feel it can be a powerful tool in their development arsenal mosgoogle center Introductio
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape