TCS | 5+ years experience| real time java interview series| Interview 10

Поділитися
Вставка
  • Опубліковано 2 лис 2024

КОМЕНТАРІ • 62

  • @gamechanger7061
    @gamechanger7061 10 місяців тому +24

    Can we have same method names in one java class?
    How object is created if there is no constructor in the class?
    What is the diff between abstract class and interface?
    If a method throws an NullPointerException in super class, can we override the method with throws RuntimeException in subclass?
    Comparable vs Comparator?
    When to use comparable and when to use comparator?
    Can we acieve multiple sorting technique using comparable?
    Suppose you have Employee class (id, name, age, salary), I want to sort Employee using salary?
    Diff between == operator and .equals method?
    What type of GC are available and How to choose?
    What is BigInteger and how do you initialize?
    Why is Java not a 100% object oriented language?
    How do you avoid NullPointerException in java 8?
    What are the diff methods in Optional class in java 8?
    What is Functional interface?
    Can you name some of the Functional interfaces?
    What is Cloneable interface (Marker interface)?
    What is Marker interface? Can you give some examples?
    Diff between throws vs throw vs Throwable?
    What is lambda expression?
    I have a list of strings values, find distinct string from the list?
    There is an employee table, Write an SQL query whose middle name is kumar?
    What is Foreign constraint?
    Can we use HashMap in a multithreaded environment?
    Can we put duplicate elements in ArrayList?
    What is CopyOnWriteArrayList?
    What type of annotations did you use while creating Rest api?
    How you are connecting with database from spirngboot application?
    What is the annotation you use in java class to fetch from properties file?
    Can you externalize the configuration? (related to above question)

  • @hari24Hh
    @hari24Hh 2 роки тому +10

    Seriously this is the most easiest interview ever seen for 5+ experienced candidate

  • @swarupcodes
    @swarupcodes Рік тому +9

    Questions are very easy for 5+. Still candidate was not able to answer questions we require on daily basis. Try hard and all the best 👍🏼

  • @AstronomyStartTrek2711
    @AstronomyStartTrek2711 2 роки тому +5

    ist question set the tone.Plus the exception question was easy.But its ok My ist interveiw after many years did one dreadful mistake of saying hasmap when duplicate keys are inserted it doesnot allow it(true)because of hash function/equals contract or whatever explanation one can give + value is replaced with new value(i really tanked this value replacing thing).I gave partial correct answer.My point it can happen to any of us sometimes..Keep practicing we shall move forward.

  • @UTUBDZ
    @UTUBDZ 2 роки тому +7

    Thank you for sharing this content, good luck for the next interviews !

  • @cvarun9221
    @cvarun9221 4 місяці тому +2

    The interviewer is smart, fooled the candidate at so many places :
    1. Is Throwable a class ? candidate with confidence - YES
    2. Cloneable , so the candidate was fooled into saying its a functional interface but its a Marker Interface.
    3. On asking how to use Comparator Comparable, the Candidate kept beating about the bush, could have straightway answered Collections.sort(employees) for comparable and Collections.sort(employees, (e1,e2) -> {return e1.salary - e2.salary;})
    4. Exception overriding in child class method is possible if there is inheritance in the exceptions being used.
    5.

    • @AnkitRawat-bi1rj
      @AnkitRawat-bi1rj 2 місяці тому

      For me also the question level did not seems for 5+ rather 2-3 YOE.

    • @javainterviewbuddy567
      @javainterviewbuddy567  25 днів тому

      Its unfortunate, please check the latest videos

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

    Nice 👍 helps us bro keep sharing guys

  • @abbasoffers6250
    @abbasoffers6250 3 роки тому +8

    We can have two methods with same name but with different parameters which is Method overloading

  • @pushpamitdon
    @pushpamitdon 3 роки тому +6

    This is the easiest interview I've seen for a 5+ yrs experienced person. I think you were just confused while answering most of the questions. Just keep on attending interviews, you'll eventually improve.

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

      If the candidate is not able to answer easy questions, then the level of further questions will be decreases so the chances of selection of candidate.

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

      @@javainterviewbuddy567 Yeah totally agreed. My comment was actually meant for the candidate. I think I mistaken you as the candidate😀

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

      @@javainterviewbuddy567 wow nice idea 💡

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

    JavaTpoint open kar ke bhi Ans ni de pa ra basic questions ka...

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

    First question makes a impression as per my experience and he spoiled it.

  • @dheerajkumar-le8ji
    @dheerajkumar-le8ji 2 роки тому +6

    Bro.. for every question u are answering some random stuff. . But in background u are searching for answer .. then second time u are answering right..

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

      Bro actually he doing cheet . I know How

  • @hiteshsharma9192
    @hiteshsharma9192 9 місяців тому

    What is that question copy on arraylist?

  • @vijaysonawane3776
    @vijaysonawane3776 Рік тому +7

    Did this candidate have really experience of 5year ?? Seems like 1.5 year

  • @yaminidurgakurangi6925
    @yaminidurgakurangi6925 Місяць тому

    Can u please provide only selenium with java interview questions

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

    nice interview. interview taking person is so professional and candidate also.

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

    👍

  • @hiteshsharma9192
    @hiteshsharma9192 9 місяців тому

    Have you selected in this round

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

    aise interviewers hme nhi milte !!! sala ek question me skip krne ka nhi tha, means fresher level pe tha !!! and bhai plz work on your communication as well as technical skills , like "NOT REALLY" tone bhut odd lg rha yha pe !!!

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

      jese jawab honge wese hi questions honge, agar simple question ka hi answer naa mile to tough kyu hi punche

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

      @@javainterviewbuddy567 yar ye bat bi shi lg rhi , cz mphsis me 1.5 hours tk interview chla and stil no response

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

      Koi early joiner mil gya unhe

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

    It's looks like freshers interview

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

    Hey bro why are you doing this . Please hide that symbol, i hope you understood ,what am i talking about 😂

  • @utsavkunal5221
    @utsavkunal5221 6 місяців тому

    I can bet he is cheating/have someone on his side saying him answer, he is able to tell what is lambda function but he doesn’t know it is used in Stream APIs while writing programs.

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

    22:09 CopyOnWriteArraylist is fail safe class.

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

    hello ..Do you hiring 2-3 yrs experience guy right now.If so please let me know.

  • @getup7
    @getup7 3 роки тому +16

    It was really 5+ years experience because I have 1.5 years experience and I knew all the answers you ask.
    Doing great buddy 👍❤️

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

      Thanks a ton. I am glad , it is helpful for your interview preparation, all the very best.

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

      Yes 1 or 10 yrs the base or core concepts are same for all But they will ask more depth for more experienced people. that is the main difference..

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

      Bro nothing like that it's technical round he will be having another one round, coding and adv core java

  • @CoconutChronicles-V25
    @CoconutChronicles-V25 2 роки тому +1

    He was selected?

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

    Who is hee??
    He Doesn't even know the basic concepts...😶

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

      Its Unfortunate. Nowadays, most of the things are available with just a Google search.

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

    Are u cleared this round??

  • @sarannav365
    @sarannav365 4 місяці тому

    He doesn't sound like 5+

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

    ..5.6years seriously ..

  • @Manish-py3jc
    @Manish-py3jc 2 роки тому +1

    Ye kya candidate ko knowledge nhi h