CitiBank || java interview questions and answers | Microservices interview questions ||

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ม.ค. 2025

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

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

    @8:22
    It's is good to use immutable object as key in hashmap. So, make the Employee class as immutable. There are few steps to make a class as immutable.

  • @ManishTiwari-or8zt
    @ManishTiwari-or8zt 2 ปีที่แล้ว +13

    method(T

    • @prerakchoksi2379
      @prerakchoksi2379 3 หลายเดือนก่อน

      @@ManishTiwari-or8zt what if this method accepted employee? Since those are subclasses should not be an issue

    • @ManishTiwari-or8zt
      @ManishTiwari-or8zt 3 หลายเดือนก่อน

      @@prerakchoksi2379 this method even can accept the employee object and it's subclasses as well

    • @ManishTiwari-or8zt
      @ManishTiwari-or8zt 3 หลายเดือนก่อน

      @@prerakchoksi2379 even this class can accept the employee object and it's subclasses object

    • @prerakchoksi2379
      @prerakchoksi2379 3 หลายเดือนก่อน

      @@ManishTiwari-or8zt correct! but if employee can do that whats point of using wildcard with generic

    • @ManishTiwari-or8zt
      @ManishTiwari-or8zt 3 หลายเดือนก่อน

      @@prerakchoksi2379 you are restricting to accept non employee object to this method... If other than employee object you will pass it will give error...

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

    I think for the question regarding the method argument, he is expecting an answer related to polymorphism. Basically, if an employer object is passed as an argument, according to polymorphism, it's subclasses can also be permitted to be passed.

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

      simple...the arg should be employee type..so even if we pass child type also it will accept
      or
      methodname(T

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

      @@seekhjava yes that's what I am saying too

    • @AbhishekMishra-mg1br
      @AbhishekMishra-mg1br 2 ปีที่แล้ว +2

      he must be talking about generics

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

      public void testMethod(

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

    15:30 this can be easily done by setting priority :
    ExecutorService executorService = Executors.newFixedThreadPool(5);
    executorService.submit(new MyRunnable("A"));
    executorService.submit(new MyRunnable("B"));
    MyRunnable cRunnable=new MyRunnable("C");
    Thread cThread=new Thread(cRunnable);
    cThread.setPriority(Thread.MIN_PRIORITY);
    executorService.submit(cThread);
    executorService.submit(new MyRunnable("D"));
    executorService.submit(new MyRunnable("E"));

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

    Front controller design pattern is used by dispatcher servelet.

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

    For 5 thread our thread would last then we should go for join method for object and subtype €€{Object extends Employee}

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

    Its better to write questions in the description, as the interviewer voice is too low and can't understand the questions.

    • @d.ramesh1224
      @d.ramesh1224 ปีที่แล้ว +1

      If they write interview questions, you will not watch the videos, they knows😂😂

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

    Why people when they don't know an answer they rephrase the question asked repeatedly. Simply say I don't have knowledge about it. Try to think being in the shoes of interviewer. Its frustrating when candidate is not answering and just blabbering things unnecessarily. Save interviewer's precious time.

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

    which interview round was this?
    what is asked in interview rounds for SDE2

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

      i am not sure of the correct questions asked in 2nd round but as per the standard i would suggest you to prepare basic concepts/ questions well,
      prepare collection,
      prepare exception,
      Prepare basic springboot questions
      Transactions
      Security
      Sql optimization
      Performance

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

    I feel at 24:00 he is expecting generic method

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

    Have you had managerial round? If Yes can you share what kind of were asked there?

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

      Yes, i jad but I don't have recording for that

    • @elangovan.s7820
      @elangovan.s7820 2 ปีที่แล้ว

      @Anjali Rai hi Are u done with managerial
      round? Let me know what are the question they have asked...

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

    Big companies will have legacy projects

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

    Not able to listen Intervwer voice

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

    When this interview took place?

  • @punyabikash3624
    @punyabikash3624 9 หลายเดือนก่อน +1

    He was expecting
    public void someMethod(T extends Employee employee)
    This is the exact expected answer

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

    The voice of the interviewer is not clear

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

      You can go through the questions in Excel attached in telegram group

  • @ManishTiwari-or8zt
    @ManishTiwari-or8zt 2 ปีที่แล้ว +3

    I am in the CITI

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

      Pune or Mumbai

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

      @Manish Tiwari, When did they release your offer. I am still waiting for hr round...can you please post here how much time they took to release offer

    • @ManishTiwari-or8zt
      @ManishTiwari-or8zt 2 ปีที่แล้ว +1

      @@elangabathra6779 I am in the CITI since last 2 years... they take some time bcz they need more approval from managers head wait for 2 weeks at least

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

      @@ManishTiwari-or8zt sure.Thank you

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

      How to apply in citi.. I applied through naukri but dint get any call

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

    This was the 1st round? And how many rounds they have taken before HR round?

  • @Divya-qt1cf
    @Divya-qt1cf 2 ปีที่แล้ว +1

    I'm having 2 years of experience. Current CTC : 7.5LPA/ How much i can expect ?

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

      They can only match or max 12

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

    are didi.. interviewer ki bhi sun leti :)

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

    Selected?

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

      Yes

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

      @@JavaTechies what?? With these answers she got selected 🙄

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

      @@deeps8170even I doubt, they might want resource immediately😊

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

    Generic concept

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

    What's the package?