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

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

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

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

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

  • @gabrielfono844
    @gabrielfono844 Год назад +11

    this guy perform pretty good
    I really appreciate transparency.

  • @shashwatgupta2184
    @shashwatgupta2184 Год назад +16

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

  • @learningcomputersciencewit5936
    @learningcomputersciencewit5936 11 месяцев назад +1

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

  • @MohdShahban-g7r
    @MohdShahban-g7r 16 дней назад +1

    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");
    }
    }

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

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

  • @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 9 месяцев назад

      It gives compile time error..

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

      @@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 4 месяца назад

      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 4 месяца назад

      Also the answer given by the candidate was not correct.

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

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

  • @ramt9447
    @ramt9447 2 года назад +4

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

  • @Ellenki_007
    @Ellenki_007 2 года назад +3

    Collections array list,hash map,linked list.

  • @munaswamy6595
    @munaswamy6595 2 года назад +5

    Brother please upload more videos 👍

  • @Ellenki_007
    @Ellenki_007 2 года назад +2

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

  • @ajaypt1947
    @ajaypt1947 9 месяцев назад +1

    Nailled it bro

  • @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. 👍

  • @Ellenki_007
    @Ellenki_007 2 года назад +2

    default static and functional interfaces.

  • @Ellenki_007
    @Ellenki_007 2 года назад +4

    Interface is contract.

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

    Good one

  • @amarnathkumar2564
    @amarnathkumar2564 2 года назад

    Amazing bro

  • @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

  • @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 года назад +2

    Literal and object i think

  • @start1learn-n171
    @start1learn-n171 2 года назад

    TQ

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

    Anyone explain loose coupling in 2 microservices? 21:41

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

      Look out for async comunication between microservices

  • @sanathrayala2745
    @sanathrayala2745 2 года назад +1

    That guy did it with no sweat 😳

    • @sandyjk2210
      @sandyjk2210 2 года назад +2

      Because it's not real interview.

  • @谭俊-d5b
    @谭俊-d5b Год назад

    correct

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

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

  • @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???

  • @Ellenki_007
    @Ellenki_007 2 года назад +1

    Pool and heap

  • @amolmandlik
    @amolmandlik 3 месяца назад

    I think this is a Mock interview

  • @Ellenki_007
    @Ellenki_007 2 года назад +2

    Interface is not clearly understood

  • @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......

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

    Horizantal scalling explaination was wrong?

  • @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.

  • @AYJ959
    @AYJ959 2 года назад

    nice

  • @DRBB123
    @DRBB123 8 месяцев назад

    Scripted but Wow l learnt a lot

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

    Did he use Chat GPT on the screen? o_o

  • @manjunathareddy2546
    @manjunathareddy2546 2 года назад

    Please make videos on microservices

  • @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 🔥

  • @kvhareesh635
    @kvhareesh635 2 года назад

    What about salary

    • @RealEyes24
      @RealEyes24 4 месяца назад

      That is discussed with hr before the technical interview.

  • @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❤❤❤❤❤❤❤❤❤❤

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

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

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

      Hello,
      These are mock interviews.

  • @prashantshinde3219
    @prashantshinde3219 2 года назад

    Salary kitna logo bhai 😂 from 3 iditos😂

  • @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