how to reverse a string with out using string or predefined
function,ex:string is " i love india". the output should be
like this "i evol aidni"

Answer Posted / janardhan

Given sting
String str="i love india";
String s[]=str.split();
for(int i=str.length();i>0;i--)
System.out.println(s[i]);

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the meaning Work bench?

1756


Explain the keyword driven framework for the window based application complete creation of library files,env file,test data,recovery file,excel file ,repository etc and as a test engineer how is ur approach

1598


How to add verification steps to tests?

9115


Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?

1511


How do client side image and server side image work?

1378






What are the recording modes in wave event?

1530


i need qtp tutorial. pls send it to sridhar.k151@g mail.com

1630


your coming from electrical backgroung..but y ur coming to software side?

1378


Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?

1474


How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?

617


Explain different type of event trigger option.

533


1 Folders in VSS 2 In navigation script there are 100 script i want to run first 50 and 37th script also not needed to run how to do this 3 What is navigation script,Driver script, business script what we are loaded in this script 4 use of resource tab 5 Difference between verification and validation give real scenario example 6 file scripting object when to use it 7 what are the problems you are faced while testing web application 8 difference between expert view and keyword view 9 difference between QTP 8.2 and QTP 9.2 navigation frame work please answer these questions from real time working people as early as possible

1598


How many types of recording modes are there?

588


what could go wrong with test automation?

1498


Hi we are using QTP9.0 for Seibel Application and this seibel application will give you a popup messagebox which is of web , so qtp takes 3 mins to recognize the messagebox and to click on it , we have more number of messageboxes like this . please suggest me some solution

1658