User Comments for the tutorial:

String Reverse in Java

Total comments: 21      View Tutorial    Discuss: String Reverse in Java



Respected Sir
Can you please show me some advanced applet programming ? I would be very greateful if you could sir. thanking you, yours faithfully, Pema  

Regarding your String Reverse example, how to reverse the order of each word of the String after reverse its order from the original. So that the result will be: "you are how hi". To continue on your example what are the commands will be used??  

this site is very useful to me to know many things 

Reversing a file
Been running yout reverse String program and I am trying to do a reverse on a file. Prints file forward but bit confused on how to reverse it. haven't found any samples out there import; import 

I need to know more about Reverse methods . Can you please show how I could do it better 

My Appreciation
Your website greatly help me in solving my assignment. thank you very much. p.s try to post correct program in java.please.. 

reverse array
how do i reverse this array, 1,2,3,4,5,6,7 reverse the sequence of the numbers, without creating any additional array. 

Hi, This is very grate site craeted for learners to learn step by step. This is laso useful for self-learning. Thank you! Regards, Suganya.R  

string program using java 

new reverse
this is a different way you can do it import java.util.Scanner; public class Introduction_to_Arrays { public static void main(String[] args){ Scanner input = new Scanner(; String txt = input.nextLine(); String output = ""; int r = 

Program to reverse the words in a sentence
public class ReverseSentence { public static void main(String[] args) { String[] temp; temp = args[0].split(" "); System.out.println("Array length : " + temp.length); for (int i = temp.length; i > 0; i--) System.out.print(temp[i-1] 

how to reverse char in existing program.
Modify the program by reversing the third name entered into the array. import javax.swing.*; public class TMA_Q3{ public static void main(String[]args){ String Name1,Name2,Name3,Name4,Name5,outputStr; Name1 = JOptionPane.showI 

Applet Programming
Dear Sir, I want to know the aprogramming fot this quest:- Write an applets a string as input and prints it in reverse order. would be very greateful if you could sir. Regards kalyani 

This will throw ArrayIndexOutOfBoundsException 

rever string
any one plz solve this question WAP to accept a string (containg three words) and display the same in reverse order. Input: computer is fun Output: fun is computer 

very nice program for string reverse.i dont know how to get character from keyboard tell me 

reverse name
its good 

String Reverse by word
How to print a statement reverse by word(e.g My Name is Khan prints:"Khan is Name My") 

string reverse in simple format
class Str { public static void main(String args[]) throws Exception { String s1="naren"; int n=s1.length(); for(int i=n-1;i>=0;i--) { System.out.print(""+s1.charAt(i)); } } } 

java programs
difference between portability and plateform independency? 

Why We need Different kinds of inputstrem.the following Stream is enough for all type of data.BufferedReader obj1=new BufferedReader(new InputStreamReader(; Then why we need all kinds of StreamMethods....pls clarify my doubts..., 

Related Tutorial and Articles
Java Beginners

hi sir - Java Beginners
hi sir  Hi,sir,i am try in netbeans for to develop the swings,plz... the details sir, Thanks for ur coporation sir  Hi Friend, Please visit the following link: 

Java Beginners

sir - Java Beginners
sir   hi sir,in this program there is a jtable,i am insert... sir,i am mentioning the error as <<>>>......main bug here>........ in this program,plz see and provide solution sir,database Tables 

Java Beginners

sir - Java Beginners
sir   hi sir,Happy ugadi,how to place the database records into jtable ,i am using the oracle database plz provide the program how to retrieve the database records and placed into a jtable,i want one more column is added to my 

Java Beginners

sir - Java Beginners

Java Beginners

more doubts sir. - Java Beginners
more doubts sir.  Hello sir, Sir i have executed your code and i got the result but the problem is whenever i click on the link in my... own browser.Hope you will help me out.And also sir i need the progressbar 

Java Beginners

swing program plz urgent sir - Java Beginners
swing program plz urgent sir   hi sir,i waan a jtable swings program table having column names "itemid","price".Initially table having single empty row.whenever we click the "enter" button automatically new row will be insert 

Java Beginners

Hello Sir I Have problem with My Java Project - Java Beginners
Hello Sir I Have problem with My Java Project  Hello Sir I want Ur Mail Id To send U details and Project Source Code, plz Give Me Ur Mail Id 

Java Beginners

please do respond to my problem sooooon sir - Java Beginners
please do respond to my problem sooooon sir  Hello sir, Sir i have... to open the link also in my own browser.Hope you will help me out.And also sir i need... for more information. Thanks 

Java Beginners

hello sir, please give me answer - Java Beginners
hello sir, please give me answer  Write a program in Java that calculates the sum of digits of an input number, prints... ways in java? so , sir please tell me full solution of this program   Here is your complete 

Java Beginners

sir plz do respond to my problem immediately - Java Beginners
sir plz do respond to my problem immediately  Hello sir, Iam very happy that you have responded to my problem.The code u sent for the progree bar is a separate program. sir i need to put it in my web browser.sir iam