How to Reverse a String in Java | Most asked question to Automation Testers | Reverse String | Java
Вставка
- Опубліковано 29 кві 2021
- Join this channel to get access to perks:
/ @softwaretestingbymkt
Like, share and subscribe to the channel.
API Testing Playlist
• What is API Explained ...
Core Java Playlist
• Introduction to Java |...
Selenium Playlist
• What Exactly is Seleni...
Manual testing Playlist
• What is Software Testi...
Watch my other videos too,
Inheritance in Java video
• Inheritance in Java | ...
Single level inheritance video
• Single level inheritan...
Multi Level Inheritance in Java video
• Multi Level Inheritanc...
Hierarchical Level Inheritance in Java video
• Hierarchical Level Inh...
Hybrid Level Inheritance in Java video
• Hybrid Level Inheritan...
Method Overloading in Java video
• Method Overloading in ...
This calling statement in Java or this() video
• This calling statement...
Constructor Overloading in Java video
• Constructor Overloadin...
Constructor in Java video
• Constructor in Java | ...
Static and Non Static Variables in Java video
• Static and Non Static ...
How to Create an Object in Java & Handing non Static method video
• How to Create an Objec...
Multiple static methods inside a single Class | How to deal it?
• Multiple static method...
Methods in Java | What exactly is public static void main(String[] args)
• Methods in Java | What...
Types of Variables in Java | Local,Global & Final Variables
• Types of Variables in ...
Variable and Datatype in Java
• Variable and Datatype ...
Easy way to run a program in Java | First program in Java
• Easy way to run a prog...
Class and Object in java
• Class and Object in ja...
50 Keywords in Java
• 50 Keywords in Java | ...
Tokens in Java
• Tokens in Java | Types...
How Java internally works?| Compilation & Interpretation
• How Java internally wo...
Introduction to Java | History of Java |Features of Java
• Introduction to Java |...
Derived model in software development life cycle video link
• Derived Model in Softw...
Prototype model in software development life cycle video link
• Prototype Model in SDL...
Spiral model in software development life cycle video link
• Spiral Model in SDLC, ...
Verification and Validation in software development life cycle video
• Verification and Valid...
Hybrid model in software development life cycle video video
• Hybrid Model in Softwa...
Waterfall model in software development video link
• Stages of Requirements...
Software development life cycle video link
• Software Development L...
What is manual testing, it's advantages and disadvantages video link
• What is Manual Testing...
What is Software testing video link
• What is Software Testi...
I work in the IT industry as a Senior Software QA Engineer in Bangalore, India and I have worked on mobile applications, web applications, and API testing.
The main reason behind this channel is to educate people about software testing so that it will helpful for them to choose the right career and also to prepare for their interviews.
Adding my blog link
softwaretestingbymkt.blogspot.in
Adding my personal mail Id:
mkumartiwari1710@gmail.com
Adding my Quora profile link here:
www.quora.com/profile/Manish-...
Adding my Twitter account here,
(@MANISH171094): / manish171094
or
(@softwaretesti16): / softwaretesti16
Facebook Page:
/ stbymkt
Join us on Telegram today,
SoftwaretestingbyMKT
For the latest update on software jobs and to discuss each and everything about Software Testing also get an opportunity to get on an audio/video call with me directly to you.
I make videos on daily basics and also help student all over the world for FREE. If my videos are helpful in anyway help "SoftwaretestingbyMKT" reach billions by supporting
www.instamojo.com/@Softwarete...
OR
www.paypal.com/paypalme/IAMMKT
*To join my upcoming courses/classes please fill below form*
*forms.gle/rKc15nunKdKvEa1E8*
Very useful ....I'm very comfortable with your videos and way of teaching ❤️❤️❤️
Ty sir ..your teaching is so simple nd easy for understanding
Brilliant teaching skill sir...thanks for make us understand..🙏🙏🙏🙏
✌🤘🙂
Hi Sir, Your videos are really helpful. Thank you
Best explanation Sir..I am ur new subscriber now
bhai tum to bade heavy driver nikle 🤟🏽
class classpractice {
public static void main(String[] args) {
String input = "welcome";
for (int i=input.length()-1; i>=0; i--){
System.out.print(input.charAt(i));
}
}
}
can be in in this way also.. two lines lesser
Thank you so much sir🙏
Thank you sir,now only i learn how to reverse a string in java.keep it up sir.
🤘✌🙂🙂
thanks for the easiest algorithm
Thanks for the video sir......Helps a lot
Thank you
Thank you sir for the great video.. 😊
Thank you
Tnq sir, it's makes me so easy to understand.
Welcome
Thanq u sir this it is very useful
Sir please make more videos on thus type of interview questions
thanks
Please do more videos on programs asked in interview
Very helpful tutorial.
Thank you
Hlo very good explanation Manish .really helpful
Thank you
Very well explained
Keep watching
Thanks for providing information
Welcome
Hi. Sir could u explain about function techniques execution in performance testing load runner tool...🙏
Please make videos of more programs asked in interview and also type casting in Java please
Sir please do vedio on polymorhism,Encapsulation and Abstraction.
hi Sir, can you make more videos like this ? I mean java coding examples
hi manish.. we should not use StringBuffer() method to reverse a string or num...?
Yes make a video on mock interview
Hi .can you make a video on how to answer situational based questions in interview
Hi Manish
Last brackets which you removed.If I keep that then out put is different.
So how does that brackets works.
Can you explain please
Best explanation ever👏
Hi MKT I really wanna thank you so much. I got job offer in MNC. Is there any chance to interact you one to one. All your videos helped me very much.
Thank you
Please teach out here
mkumartiwari1710@gmail.com
Thank you Sir. you explained it very clearly.
You are welcome
Please make a video for data base testing.
Sir please check once the video is blur when your executing the program in system
Please make a video of reverse word like "good morning" "morning good"....this is also most commonly asked question ...it ll help us
String str = "Java is my favorite programming language";
String s [] = str.split(" ");
for(int i=0; i=0; i--) {
System.err.print(s[i]+ " ");
}
}
Please make more logical programs videos
Thank you
Welcome
@@SoftwaretestingbyMKT i got this question today sir 😊
Amazing Alkesh.
Keep sharing the channel ❤❤❤
Q)When you enter an url in web page then clicked. it shows an blankpage what should u do?
Are you started a online batch?
Sir please let me know if u Alos have videos on quality assurance process like lean agile scrum tools used to implement and improve processes
Yes i have on the channel.
Please check it out
Please share the links like on lean methodology , tools and techniques used for process improvement etc
Do video on chat bot what are the test cases can be writen manually
Plz explain data testing
Continue with more interviews program's
Sure
@@SoftwaretestingbyMKT seen lot of videos but your explanation is beyond the obvious
Thank you ❤
👍🏻✅
😄
Sir can you explain palindrome program?
one video on writing frequency of each alphabet in string & then sorting accorfing to that no.
input: jjjkkkkklp
output: k5j3l1p1
public class Freq {
public static void main(String[] args) {
// writing frequency of each alphabet in string & then sorting accorfing to the
// no.
// input: jjjkkkkklp
// output: k5j3l1p1
String s="jjjkkkkklp";
alphabetFreq(s);
}
public static void alphabetFreq(String s) {
Map freqMap = new HashMap();
char[] charArr = s.toCharArray();
for (char c : charArr) {
if (freqMap.containsKey(c)) {
freqMap.put(c, freqMap.get(c) + 1);
} else {
freqMap.put(c, 1);
}
}
Map temp=freqMap.entrySet().stream().sorted(Collections.reverseOrder(Map.Entry.comparingByValue())).
collect(Collectors.toMap(
Map.Entry::getKey,
Map.Entry::getValue,
(e1, e2) -> e1, LinkedHashMap::new));
System.out.println(temp);
}
}
Sir, String is: "How are you?"
& Output should be like : "woH era ?uoy"
how i get this output...???
Thanks, Sir the way of you explained it really helped me but I tried on my system it didn't work,
Could you explain to me what is wrong with this code:
public class ProgrammeReverseString {
public static void main(String[] args) {
// TODO Auto-generated method stub
String input = "Welcome";
String output = "";
for (int i=input.length()-1; i>=0;i--)
output=output + input.charAt(i);
System.out.println("output" );
}
}
I think in sop for output double quotes should not be there
@@kranthivemula2960 Correct
At last if we are not removing the for loop braces the ouput will be
Ex :abc
C
Cb
Cba
Why is this so
Sir how can we reverse
IO- Today Is Monday
Op- Monday is today
Pls Guide
Guys if you are a manual or an automation tester this is the best time to switch your job ,huge requirement for testing in almost all major companies ..We are not at all getting people !
I am searching for job in software testing..
I'm searching for the job as a QA
public static void main(String[] args)
{
String ip="LUCKY";
for (int i = ip.length()-1; i >= 0; i--)
{
System.out.print(ip.charAt(i));
}
//Could we write script like this ??
Nicely explained
Thank you
Please make a video for data base testing.
Please make a video for data base testing.
Please make a video for data base testing.
Please make a video for data base testing.
Please make a video for data base testing.