Menu
Question Index
...

Write a program to print the reverse of given input string. Use System.out.println or System.out.print for printing.

Input (Integer) Printed Output
queue eueuq
gangnam mangnag
malayalam malayalam



class PrintReverse
{
    public static void main(String s[])
    {
        printReverse("gangnam");

    }


    public static void printReverse(String input)
    {
    }

}

Doubts

Problems

Topic: charAt() Method In Java - Java Character Extraction

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App