TechM round 2 java interview questions and answers | Microservices interview questions

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 พ.ย. 2024

ความคิดเห็น • 62

  • @johnkiran3306
    @johnkiran3306 2 ปีที่แล้ว +27

    String vs String buffer
    Final vs finally
    Multiple inheritance
    Diamond problem
    Abstract method vs default method
    Threads
    Synchronise block
    Private constructed
    Design patterns
    Singleton pattern
    Factory pattern
    Array list vs linked list
    Hash map vs hash table
    Concurrent
    Comparator vs comparable

  • @souravbasak5826
    @souravbasak5826 2 ปีที่แล้ว +39

    ** Other ways Singleton design pattern can break :
    1. Serialization : while deserializing, new object will get created. To prevent, override readResolve( ) method, and return the only instance.
    2. Reflection : by getting a handle on the Class object, one can change the accessibility of the constructor from private to public and create object. To prevent, throw RuntimeException from constructor if instance already exists.
    ** Runnable is not Marker interface, it is Functional interface (only one abstract method). Marker interfaces are those that have no method, no field, used only to declare that a certain class will have a certain characteristics ( example - Cloneable, Serializable )

    • @JavaTechies
      @JavaTechies  2 ปีที่แล้ว +1

      Thanks

    • @rexsam3134
      @rexsam3134 2 ปีที่แล้ว

      Marker Remote

    • @cvarun9221
      @cvarun9221 4 หลายเดือนก่อน +1

      ***Cloning can also break Singleton.

    • @JavaTechies
      @JavaTechies  4 หลายเดือนก่อน

      @cvarun9221 yeah

  • @SaurabhKumar-fo6zp
    @SaurabhKumar-fo6zp ปีที่แล้ว +3

    in runnable case, you have to create object of thread. runnable is functional interface not marker interface . you should check equals and hash code contract as well as comparable and comparator.
    it felt like L1 interview.

  • @shubhamjadhav-mk6kw
    @shubhamjadhav-mk6kw 2 ปีที่แล้ว +5

    Comparator having two methods equals and compare

  • @rexsam3134
    @rexsam3134 2 ปีที่แล้ว +4

    Few corrections to others who are watching this audio
    Question i understood was how to break a Singleton pattern and not describe different ways of creating Singleton 9.28
    @Autowired is different than what you explained
    Spring Security authentication : how do you authenticate each and every user and how is it mapped to access token?
    Arraylist vs linkedlist has 6 to 7 differences

    • @JavaTechies
      @JavaTechies  2 ปีที่แล้ว

      Thanks

    • @rexsam3134
      @rexsam3134 2 ปีที่แล้ว +1

      @@JavaTechies pls respond on authentication

  • @personelpurpose1531
    @personelpurpose1531 2 ปีที่แล้ว +3

    Hi Mansi ,first of all thankq because of your vidoes i could answer spring boot and clear interview 🤣 but i don't have spring boot knowledge will I be able to survive in new company

  • @ridhamthumar6211
    @ridhamthumar6211 2 ปีที่แล้ว +13

    I have also 3 years of experience and faced same questions in interview. Although this seems like L1 interview. L2 will be harder compared this.

    • @JavaTechies
      @JavaTechies  2 ปีที่แล้ว

      Thanks

    • @kvhareesh635
      @kvhareesh635 2 ปีที่แล้ว

      Hi bro how to learn spring boot as a fresher which one must do learn

    • @vinay2841
      @vinay2841 2 ปีที่แล้ว

      @@kvhareesh635 Spring Basics

    • @mohammedajazquadri7869
      @mohammedajazquadri7869 2 ปีที่แล้ว

      @@kvhareesh635 learn from
      Java guides

  • @rastemmilengephirchltechlte
    @rastemmilengephirchltechlte 2 ปีที่แล้ว +2

    What a interview he can't failed him every answer was correct

  • @shine5521
    @shine5521 2 ปีที่แล้ว +1

    Just a question we're you in ninja Cadre or the digital Cadre as even I have 2 years of experience in tcs but while trying to switch none of there service based company is providing more than 40 percentage of hike and my current ctc is very low can you please advise how to handle this situation as my knowledge is good so I am able to Crack the interviews but the salary negotiation part is bit difficult for me .

    • @JavaTechies
      @JavaTechies  2 ปีที่แล้ว

      Feel free to share an email, we will help on this.

  • @mdumarreza3072
    @mdumarreza3072 2 ปีที่แล้ว +2

    Waiting........ Bro

    • @JavaTechies
      @JavaTechies  2 ปีที่แล้ว +1

      Thanks for your support 🙏

  • @personelpurpose1531
    @personelpurpose1531 2 ปีที่แล้ว +1

    Hi is c2h jobs easy to get in IT ,i have a 2year gap and i am only getting c2h jobs

  • @rakesh1594
    @rakesh1594 8 หลายเดือนก่อน +2

    3 years 15Lpa techm 😂

  • @TechnicEL_Professor
    @TechnicEL_Professor 2 ปีที่แล้ว +1

    Thanks 👍 you got selected?

  • @Prabhu__Shree_Ramji
    @Prabhu__Shree_Ramji 2 ปีที่แล้ว +7

    Let me add one more correction
    We can use finally without catch block but we would have to add finally with try in that situation ❤️
    Why multiple inheritance is not possible
    If I made class A and Class B
    Which is having same method
    And I made one class C which is inherited class A and Class B then because of same method in both class the Class C would be confuse about class A and Class B which method has to be Access that's diamond problem and because of that multiple inheritance is not possible in java
    We can achieve it via interface

  • @Aj-gy9hj
    @Aj-gy9hj 2 ปีที่แล้ว +1

    Nice one bro

  • @anandreddy7053
    @anandreddy7053 2 ปีที่แล้ว +2

    Fake interview ,.. its just a recording

  • @SpiritualPath1
    @SpiritualPath1 ปีที่แล้ว +1

    tech mahindra giving 15LPA to 3 years exp can't believe, absolute fake/scripted.

    • @JavaTechies
      @JavaTechies  ปีที่แล้ว +1

      It was an year back, when people with 3 years experience were not ready to join at 15, there expectations was beyond 15.
      Btw nothing is scripted here. Its for helping us all. Hope you understand

  • @karamjitsinghsehdev3451
    @karamjitsinghsehdev3451 2 ปีที่แล้ว +2

    runnable is functional interface

  • @paragchitriv8998
    @paragchitriv8998 2 ปีที่แล้ว +2

    I'm in TechM and they not provided 15 L for 3 yr experience.... it's not True 😂😂

  • @gnsc
    @gnsc 2 ปีที่แล้ว +4

    This is fake interview.

  • @driveshare3656
    @driveshare3656 2 ปีที่แล้ว +1

    TIAA vs Nagarro which is best? Yoe- 2.5 yrs

    • @JavaTechies
      @JavaTechies  2 ปีที่แล้ว

      Nagarro, my personal openion.

  • @shafalikataria7976
    @shafalikataria7976 2 ปีที่แล้ว +5

    It's good to help people and share your experiences and help them in getting good offers. But is it ethical to record companies interview like this? I am wondering how would HR react to this if they comes to know about this.

    • @rexsam3134
      @rexsam3134 2 ปีที่แล้ว +2

      @Shafali yes you are right that it's not ethical to record such interviews for any personal gain for interviewee or officially for any company.
      During COVID people record such interviews. During FTF they cannot do that leave alone upload such recordings. Interviewers can object to these.
      But few companies too record these interviews for HR reasons and it's not ethical too unless the candidate is an employee.
      As fas as it's not objectionable or defacing the company name, they usually don't mind as it's not violating any copyrights.
      Companies will be happy that they are getting publicity on social media. That too FREE.

  • @mdumarreza3072
    @mdumarreza3072 2 ปีที่แล้ว +2

    He told. he hase 3 years experience and you wrote in headline 2 years

    • @JavaTechies
      @JavaTechies  2 ปีที่แล้ว

      Round 2, experience is 3 years

  • @rastemmilengephirchltechlte
    @rastemmilengephirchltechlte 2 ปีที่แล้ว +6

    I got a mail today from a big MNC which headline is selection mail
    And inside there this is mentioned
    "Dear Candidate,
    Thank you for taking the time to apply with ****(company name) It was a pleasure getting to meet you and we think that you’d be a great fit for this role."
    After that they asked me to submit document on online process
    I am assuming I am selected it is right or not please let me clearify

    • @rexsam3134
      @rexsam3134 2 ปีที่แล้ว +1

      No one : no it doesn't mean that you are selected but you are kept as a standby as that MNC may give you an offer depending on candidates that they must have given offer letter for the same role.

  • @Manish-py3jc
    @Manish-py3jc 2 ปีที่แล้ว +1

    15 lpa is true?

    • @JavaTechies
      @JavaTechies  2 ปีที่แล้ว

      Yes

    • @mdumarreza3072
      @mdumarreza3072 2 ปีที่แล้ว +1

      It will be .
      But he has 3 years experience with good knowledge

    • @mohitzanjad8154
      @mohitzanjad8154 2 ปีที่แล้ว +1

      @@JavaTechies Have they ask coding questions on DSA?

    • @personelpurpose1531
      @personelpurpose1531 2 ปีที่แล้ว

      @@mohitzanjad8154 Hi they asked for me Build hashmap

  • @amarnathkumar2564
    @amarnathkumar2564 2 ปีที่แล้ว

    TCS 😂

    • @JavaTechies
      @JavaTechies  2 ปีที่แล้ว

      TCS is just amazing 😀