Write a program to reverse a string without using built-in string functions.

AnswerBot
2y
Program to reverse a string without using string function
Iterate through the string from end to start and append each character to a new string
Use a loop to swap the first and last characters, then mo...read more
Anonymous
3y
class ReverseString
{
public static void main(String[] args)
{
String str = "Hello team";
String reverseString = "";
for(int i = str.length() - 1 ; i>=0 ; i--)
{
reverseString += str.charAt(i);...read more
Help your peers!
Add answer anonymously...
Persistent Systems Software Engineer interview questions & answers
A Software Engineer was asked 5mo agoQ. What is a virtual function?
A Software Engineer was asked 5mo agoQ. What is the difference between an Interface and an abstract class?
A Software Engineer was asked 7mo agoQ. Write a program that prints a star pattern.
Popular interview questions of Software Engineer
A Software Engineer was asked 5mo agoQ1. What is a virtual function?
A Software Engineer was asked 5mo agoQ2. What is the difference between an Interface and an abstract class?
A Software Engineer was asked 7mo agoQ3. Write a program that prints a star pattern.
Top HR questions asked in Persistent Systems Software Engineer
A Software Engineer was asked 5mo agoQ1. Please introduce yourself.
A Software Engineer was asked 8mo agoQ2. Which technology are you interested in working with?
A Software Engineer was asked 8mo agoQ3. Why this company?
>
Persistent Systems Software Engineer Interview Questions
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

