Explanation:
class ques1
{
public static void main(String args[])
String n = "AMIT";
int l = n.length();
for(int i = l-1;i> = 0;i--)
System.out.print (n.charAt(i));
}
Copyright © 2024 EHUB.TIPS team's - All rights reserved.
Answers & Comments
Explanation:
class ques1
{
public static void main(String args[])
{
String n = "AMIT";
int l = n.length();
for(int i = l-1;i> = 0;i--)
{
System.out.print (n.charAt(i));
}
}
}