Automation Testing Interview Questions | Java Testing Interview Q&A

Поделиться
HTML-код
  • Опубликовано: 27 ноя 2024

Комментарии • 31

  • @pratikfulmali9917
    @pratikfulmali9917 Год назад +5

    1 ) using for loop
    2) string buffer
    3) string builder
    By using 2 & 3 method
    Object.reverse()

  • @Jeyashreesanthosh
    @Jeyashreesanthosh Год назад +15

    Different ways to reverse a string
    1. For loop
    2.String Builder using reverse()
    3. String buffer using toCharArray()

    • @Virenshukla24
      @Virenshukla24 Год назад

      And recursion with string buffer

    • @ysadiq
      @ysadiq Год назад

      Using List
      Collections.reverse

  • @ashishpadiyar27
    @ashishpadiyar27 Год назад +8

    Best example for overloading is print statement.
    And overriding goes hand in hand with inheritance.

  • @akashwnl3337
    @akashwnl3337 8 месяцев назад +1

    11:58 Array list supports only object Not primitive data types
    Where Array supports both primitive and reference data types

  • @joydutbag2506
    @joydutbag2506 Год назад +1

    1. Using for loops
    2. Using the String reverse method
    3.using chatAt() method

  • @aniruddhaborle2412
    @aniruddhaborle2412 Год назад +1

    1)String buffer are synchronised,thread safe,slower than string builder
    2) string builder are not synchronised,not thread safe,faster than string builder
    3) both are mutable

  • @sivaj6382
    @sivaj6382 Год назад +1

    String buffer is synchronized string builder is not synchronized is both are mutable string builder multiple threading possible but string buffer not possible these two types of strings are using new keywords only not litteral string

  • @hiteshharinkhede-d3i
    @hiteshharinkhede-d3i Год назад +1

    In string buffer the methods are synchronised hence we are use in multithread enviorenment and on otherhand StringBuilder this is not synchrinised hence this is not thread safe or not use in multithread enviorenment ,
    Stringbuffer is slower than Stringbuilder and Stringbuilder is more faster than String buffer both are use for temporrary operations

  • @nileshkhade3236
    @nileshkhade3236 Год назад +3

    String Buffer is mutable
    1.it is also thread safe
    2. also synchronized
    3.it is created inside the heap memory
    4.performance wise it is slow
    String Builder
    1.it is not thread safe
    2.also not synchronized
    3.it is also created inside the heap memory
    4.preformance wise builder is faster

  • @shubhamsinha9037
    @shubhamsinha9037 Год назад

    String buffer stores the value in stack replaces the old value with new value. It is synchronised and thread safe. It is slower than string builder. And String builder is same as string buffer only diffrenece is not thread safe and not synchronised.

  • @SVRhappy8352
    @SVRhappy8352 Год назад

    Hi si happy to see you all the interviews on testing so by seeing your interviews I want to get start career in automation testing software

  • @barzilaizio5833
    @barzilaizio5833 Год назад +2

    what is Pojo?
    what's your challenges in API testing?
    how many authentication in rest assured?
    difference array and arraylist ? memory and size , static and nonstatic
    what's benefit page object design pattern ?
    how to reserved string ?
    How you write excel file from automation ?

  • @the_Viral_shorts1
    @the_Viral_shorts1 Год назад

    String input = "My name is abhishek";
    StringBuilder input1 = new StringBuilder();
    input1.append(input);
    input1.reverse();
    System.out.println(input1);

  • @Billah_Navveenn
    @Billah_Navveenn Год назад

    Length ()-1 is a method by using this one we can reverse the string

  • @ravitejareddybala9128
    @ravitejareddybala9128 10 месяцев назад +4

    Hi @rdautomationlearing609 Thanks for the this mock interview while attending interview I just saw this video before 1 day and it is very helpful to me to crack the interview…😊

  • @riyakhandelwal5785
    @riyakhandelwal5785 Год назад

    11.48>> Object and primitive can both be stored in an array but in collection, only Object type can stored. isn't it?

  • @ratulghosh4212
    @ratulghosh4212 Год назад +1

    Sir, can you please give the proper answer of the question that you have asked like "how you implement Abstraction in your framework" ?
    Can we just say like we have implement listener interface in our framework and by implementing interface we can achieve full abstraction .

    • @NoorazadNA
      @NoorazadNA 9 месяцев назад

      In Page Object Model design pattern, we write locators (such as id, name, xpath etc.,) and the methods in a Page Class. We utilize these locators in tests but we can’t see the implementation of the methods. Literally we hide the implementations of the locators from the tests.

  • @sourabhyadav596
    @sourabhyadav596 Год назад

    Please add java coding questions in your interviews.

  • @sagarbiradar210
    @sagarbiradar210 Год назад +1

    In String buffer inbuilt method reverse() with using that we can easily reverse the string . StringBuffer sb = new StringBuffer("India!"); Sop(+sb); sb.reverse(); Sop(+sb);

  • @zakirvnr6011
    @zakirvnr6011 11 месяцев назад

    Class can have only 2 access modifiers default and private

  • @NoorazadNA
    @NoorazadNA 9 месяцев назад

    There are some scenarios where you have to maintain same space. For that all these solutions are invalid.

  • @CuriousVivek
    @CuriousVivek Год назад

    Sir where we use pojo classes in Automation

    • @SourabhSingh-zx1fh
      @SourabhSingh-zx1fh Год назад +3

      Rest assured, with the help of pojo class we can create payload body,

  • @KaranPachunde
    @KaranPachunde Год назад +1

    String buffer is synchronised were string builder is not... string buffer is slower than string builder

  • @kirtipaliwal2277
    @kirtipaliwal2277 Год назад

    Sir how can I get my mock interview scheduled with you?