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

КОМЕНТАРІ • 87

  • @SoftwaretestingbyMKT
    @SoftwaretestingbyMKT  Рік тому

    *To join my upcoming courses/classes please fill below form*
    *forms.gle/rKc15nunKdKvEa1E8*

  • @ExploreWithSanjeev
    @ExploreWithSanjeev 2 роки тому +2

    Very useful ....I'm very comfortable with your videos and way of teaching ❤️❤️❤️

  • @SagarPatil-8411
    @SagarPatil-8411 2 роки тому +1

    Ty sir ..your teaching is so simple nd easy for understanding

  • @thesouloflifeworld7174
    @thesouloflifeworld7174 Рік тому +3

    Brilliant teaching skill sir...thanks for make us understand..🙏🙏🙏🙏

  • @shashikuruppu1048
    @shashikuruppu1048 2 роки тому

    Hi Sir, Your videos are really helpful. Thank you

  • @nikitavalkunde6499
    @nikitavalkunde6499 Рік тому +1

    Best explanation Sir..I am ur new subscriber now

  • @govindasingh8255
    @govindasingh8255 3 роки тому

    bhai tum to bade heavy driver nikle 🤟🏽

  • @finallytech.
    @finallytech. 2 роки тому +1

    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

  • @desailp1095
    @desailp1095 2 роки тому +1

    Thank you so much sir🙏

  • @mamatha170
    @mamatha170 Рік тому +1

    Thank you sir,now only i learn how to reverse a string in java.keep it up sir.

  • @sarthak_0701
    @sarthak_0701 2 роки тому

    thanks for the easiest algorithm

  • @prashanthidontireddy316
    @prashanthidontireddy316 3 роки тому +1

    Thanks for the video sir......Helps a lot

  • @ayushgoel9910
    @ayushgoel9910 3 роки тому +1

    Thank you sir for the great video.. 😊

  • @NikhilKumar-uu5qb
    @NikhilKumar-uu5qb 2 роки тому +1

    Tnq sir, it's makes me so easy to understand.

  • @subbaraoadapa3832
    @subbaraoadapa3832 2 роки тому +1

    Thanq u sir this it is very useful

    • @subbaraoadapa3832
      @subbaraoadapa3832 2 роки тому

      Sir please make more videos on thus type of interview questions

  • @bokshimasumahmed1862
    @bokshimasumahmed1862 2 роки тому

    thanks

  • @divyad9144
    @divyad9144 2 роки тому +1

    Please do more videos on programs asked in interview

  • @SelectorsHub
    @SelectorsHub 3 роки тому +1

    Very helpful tutorial.

  • @atkuriajaykumar3701
    @atkuriajaykumar3701 2 роки тому +1

    Hlo very good explanation Manish .really helpful

  • @abhishekkushwaha3112
    @abhishekkushwaha3112 3 роки тому +2

    Very well explained

  • @howtoindia19
    @howtoindia19 3 роки тому +1

    Thanks for providing information

  • @sateeshdussa8132
    @sateeshdussa8132 3 роки тому +2

    Hi. Sir could u explain about function techniques execution in performance testing load runner tool...🙏

  • @adeebatariq6200
    @adeebatariq6200 2 роки тому

    Please make videos of more programs asked in interview and also type casting in Java please

  • @bhimprakash1010
    @bhimprakash1010 3 роки тому +1

    Sir please do vedio on polymorhism,Encapsulation and Abstraction.

  • @mahimak.m2043
    @mahimak.m2043 3 роки тому

    hi Sir, can you make more videos like this ? I mean java coding examples

  • @saibhavanin9735
    @saibhavanin9735 3 роки тому

    hi manish.. we should not use StringBuffer() method to reverse a string or num...?

  • @sandeeprapolusandeeprapolu
    @sandeeprapolusandeeprapolu 3 роки тому

    Yes make a video on mock interview

  • @merinissac5657
    @merinissac5657 3 роки тому +1

    Hi .can you make a video on how to answer situational based questions in interview

  • @ashapatel1320
    @ashapatel1320 Рік тому

    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

  • @divyad9144
    @divyad9144 2 роки тому

    Best explanation ever👏

  • @gomathipriya4582
    @gomathipriya4582 3 роки тому +4

    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.

  • @sudipbasuray8690
    @sudipbasuray8690 3 роки тому +1

    Thank you Sir. you explained it very clearly.

  • @bhartirani4663
    @bhartirani4663 3 роки тому

    Please make a video for data base testing.

  • @swathi8295
    @swathi8295 2 роки тому

    Sir please check once the video is blur when your executing the program in system

  • @saishritaadash8748
    @saishritaadash8748 3 роки тому

    Please make a video of reverse word like "good morning" "morning good"....this is also most commonly asked question ...it ll help us

    • @jeyhunaliyev1765
      @jeyhunaliyev1765 3 роки тому +1

      String str = "Java is my favorite programming language";
      String s [] = str.split(" ");
      for(int i=0; i=0; i--) {
      System.err.print(s[i]+ " ");
      }
      }

  • @user-zf4wl6rc1h
    @user-zf4wl6rc1h 2 роки тому

    Please make more logical programs videos

  • @alkeshbabani4408
    @alkeshbabani4408 3 роки тому +1

    Thank you

  • @vivek254258
    @vivek254258 3 роки тому

    Q)When you enter an url in web page then clicked. it shows an blankpage what should u do?

  • @allindia2837
    @allindia2837 3 роки тому

    Are you started a online batch?

  • @preetigera4185
    @preetigera4185 3 роки тому +1

    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

    • @SoftwaretestingbyMKT
      @SoftwaretestingbyMKT  3 роки тому

      Yes i have on the channel.
      Please check it out

    • @preetigera4185
      @preetigera4185 3 роки тому

      Please share the links like on lean methodology , tools and techniques used for process improvement etc

  • @dazzlinggodavari2976
    @dazzlinggodavari2976 3 роки тому

    Do video on chat bot what are the test cases can be writen manually

  • @TheSecondCook
    @TheSecondCook 3 роки тому

    Plz explain data testing

  • @ramprasadpatil4649
    @ramprasadpatil4649 3 роки тому +3

    Continue with more interviews program's

  • @jeyhunaliyev1765
    @jeyhunaliyev1765 3 роки тому +1

    👍🏻✅

  • @aravinda4199
    @aravinda4199 2 роки тому

    Sir can you explain palindrome program?

  • @viveksharma-bl1ik
    @viveksharma-bl1ik 3 роки тому +1

    one video on writing frequency of each alphabet in string & then sorting accorfing to that no.
    input: jjjkkkkklp
    output: k5j3l1p1

    • @jayantamandal9732
      @jayantamandal9732 3 роки тому

      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);

      }
      }

  • @SnehaK13
    @SnehaK13 2 роки тому

    Sir, String is: "How are you?"
    & Output should be like : "woH era ?uoy"
    how i get this output...???

  • @kamalkaur1479
    @kamalkaur1479 2 роки тому

    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" );

    }
    }

  • @aravindraj8573
    @aravindraj8573 3 роки тому

    At last if we are not removing the for loop braces the ouput will be
    Ex :abc
    C
    Cb
    Cba
    Why is this so

  • @Tourist_paradise
    @Tourist_paradise Рік тому

    Sir how can we reverse
    IO- Today Is Monday
    Op- Monday is today
    Pls Guide

  • @minku2008
    @minku2008 3 роки тому +2

    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 !

  • @dsubhankarrout6682
    @dsubhankarrout6682 3 роки тому

    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 ??

  • @jitendrakumartiwari9616
    @jitendrakumartiwari9616 3 роки тому +3

    Nicely explained

  • @bhartirani4663
    @bhartirani4663 3 роки тому

    Please make a video for data base testing.

  • @bhartirani4663
    @bhartirani4663 3 роки тому

    Please make a video for data base testing.

  • @bhartirani4663
    @bhartirani4663 3 роки тому

    Please make a video for data base testing.

  • @bhartirani4663
    @bhartirani4663 3 роки тому

    Please make a video for data base testing.

  • @bhartirani4663
    @bhartirani4663 3 роки тому

    Please make a video for data base testing.