Core Java, Spring Boot, Microservice Interview Questions | Cognizant L1 Technical Interview

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

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

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

    For Live Java Interview Preparation! Register Now
    www.cloudtechsolutions.in/courses/crack-java-backend-interview-6527dad5e4b0f21aa6921714

  • @gabrielfono844
    @gabrielfono844 ปีที่แล้ว +12

    this guy perform pretty good
    I really appreciate transparency.

  • @shashwatgupta2184
    @shashwatgupta2184 ปีที่แล้ว +19

    you both are rocking man!!...Although, its scripted but its helping us to know various interview questions...keep it going..

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

    Mir da...tomar national award paoa uchit...eto versatile character tmr...just god gifted...❤

  • @MohdShahban-g7r
    @MohdShahban-g7r หลายเดือนก่อน +2

    when a class implements two interfaces with the same default method, Java requires you to resolve the ambiguity by overriding the method in the implementing class. like this : public class DefaultTestInterface implements I1,I2{
    public static void main(String[] args) {
    I2 t1 = new DefaultTestInterface();
    t1.print();
    }
    @Override
    public void print() {
    I2.super.print();
    }
    }
    interface I1{
    default void print() {
    System.out.println("I1 print() called");
    }
    }
    interface I2{
    default void print() {
    System.out.println("I2 print() called");
    }
    }

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

    Such basic questions are rarely asked.
    Loosely coupling microservices is much more different than what you spoke
    String is not a primitive datatype. Zuul is used with older Spring Boot and JDK 1.8
    public interface InterfaceA {
    public String abc();
    }
    public interface InterfaceB {
    public String abc();
    }
    public class InterfaceABEg implements InterfaceA, InterfaceB {
    I want you to write how you can use super here
    }

    • @Aniketjoshi9
      @Aniketjoshi9 10 หลายเดือนก่อน

      It gives compile time error..

    • @rexsam3134
      @rexsam3134 10 หลายเดือนก่อน

      @@Aniketjoshi9 refer to 3.30 answer. Is his answer correct? These mock interviews are programmatically not correct and there are no cross question asked. So does the interviewer knows what he is asking?

    • @ankitabhishek9871
      @ankitabhishek9871 5 หลายเดือนก่อน

      The interface question had the default methods in it.
      So if you are implementing both the interfaces and you want to access the method inside interface a, then you have to override that method inside your class. Otherwise java will give ambiguity error. The only way it will work is to override the method present in the interface.

    • @ankitabhishek9871
      @ankitabhishek9871 5 หลายเดือนก่อน

      Also the answer given by the candidate was not correct.

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

    Thread goes waiting state by calling wait() or sleep () also

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

    Str is sequence of characters to represent name address email id etc

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

    I got placed in both Cognizant and Deloitte. Thank you.

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

    bro as a fresher i know the answer of almost all questions except springboot can u suggest me some source for springboot im from mechanical final year students...

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

      You can start watching videos of Abhilash Panigrahi or Durgesh KT ,Java Techie

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

      Java Techie is the best source. I mastered Springboot in 2 months following him. If you look at too many resources it will just confuse and slow you. Find 1 and put all your trust in it.

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

    Collections array list,hash map,linked list.

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

    They are making interview harder than that this is like a entry level

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

    How do you define a string in java? The answer could be:
    Using primitive datatype string, and using the String Wrapper class which the guy explained how to define them.

    • @RealSlimShady-um6gf
      @RealSlimShady-um6gf ปีที่แล้ว

      String primitive datatype,???

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

      String is not a primitive datatype. int, float and double are primitive data type. 👍

  • @mklearning6468
    @mklearning6468 6 วันที่ผ่านมา

    Thanks for providing right content

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

    Anyone explain loose coupling in 2 microservices? 21:41

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

      Look out for async comunication between microservices

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

    Brother please upload more videos 👍

  • @mklearning6468
    @mklearning6468 6 วันที่ผ่านมา

    Very helpful video 🎉

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

    Interface is contract.

  • @gabrielfono844
    @gabrielfono844 2 หลายเดือนก่อน

    I have an interview for Senior backend engineer using springboot , java, microservices at SAIC but the link you shared for java interview preparation is not working sir.
    Do you have any idea for SAIC ?
    I appreciate your feedback

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

    default static and functional interfaces.

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

    Literal and object i think

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

    I have worked on some spring boot projects by myself with intermediate knowledge in java, so how can i apply anywhere as a fresher???

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

    Good one

  • @ajaypt1947
    @ajaypt1947 10 หลายเดือนก่อน +1

    Nailled it bro

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

    Amazing bro

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

    For freshers what is the package for springboot if we are good at spring boot? and if we done a project on springboot is it a plus point ?

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

      For freshers, different companies have different criteria for selection. But the general idea is aptitude + programming language basics. In some companies, they ask DSA. The package generally ranges from 3-4 LPA.

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

    Is it fir freshers interview?? We can't expect this type of questions from 3 years experience guy??

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

    That guy did it with no sweat 😳

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

      Because it's not real interview.

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

    Horizantal scalling explaination was wrong?

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

    I think this is a Mock interview

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

    Pool and heap

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

    Edo Edo cheppu swamy...... correct but way of answer is not correct......Abstraction in Java... If you are not allow to create a object or else the class which is not complete implementation means partially implementation called abstraction......

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

    Why abstraction is asked to everyone in every Java interview?

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

      Abstraction is the key feature of any programming language. When we abstract the logic and just expose the input and output a lot of system complexity can be suppressed. Hope that made sense. 👍

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

      @@cloudtech5260 definitely make sence 🔥

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

    Did he use Chat GPT on the screen? o_o

  • @谭俊-d5b
    @谭俊-d5b ปีที่แล้ว

    correct

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

    Interface is not clearly understood

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

    What about salary

    • @RealEyes24
      @RealEyes24 5 หลายเดือนก่อน

      That is discussed with hr before the technical interview.

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

    Please make videos on microservices

  • @start1learn-n171
    @start1learn-n171 2 ปีที่แล้ว

    TQ

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

    Waiting for him to say that he's not sure about any one of those questions 😭😳🙄

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

      It is scripted man.

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

      he was not able to answer correctly the question "how to deploy the application if you are scaling application horizontally"

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

      ​@@aakashgupta7211😊😊

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

      ​@@aakashgupta7211❤❤❤❤❤❤❤❤❤❤

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

    nice

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

    Salary kitna logo bhai 😂 from 3 iditos😂

  • @DRBB123
    @DRBB123 8 หลายเดือนก่อน

    Scripted but Wow l learnt a lot

  • @garvisrobot9274
    @garvisrobot9274 10 หลายเดือนก่อน

    They have posted 4 interview with same guy. They are foolingpeople

    • @cloudtech5260
      @cloudtech5260  10 หลายเดือนก่อน

      Hello,
      These are mock interviews.

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

    Baap-->beta-->betay ka beta inheritance

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

    I1.super.print();
    I2.super.print();

    • @Raj-dy2cn
      @Raj-dy2cn 2 ปีที่แล้ว

      I dont get y are we calling interface method which has no body?
      We will override it in the implementing class and call it right?

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

      @@Raj-dy2cnInterviewer said interfaces are having default methods not abstract methods therefore he replied I1.super.print(); & I2.super.print();

    • @Raj-dy2cn
      @Raj-dy2cn 2 ปีที่แล้ว +1

      @@JavaHub018 Yeah man I figured it out later, its one of those ur never gonna use scenarios