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

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

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

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

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

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

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

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

    this guy perform pretty good
    I really appreciate transparency.

  • @learningcomputersciencewit5936
    @learningcomputersciencewit5936 Год назад +1

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

  • @MohdShahban-g7r
    @MohdShahban-g7r 2 месяца назад +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
    }

    • @jai-ho-mahakaal
      @jai-ho-mahakaal 11 месяцев назад

      It gives compile time error..

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

      @@jai-ho-mahakaal 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 6 месяцев назад

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

      Also the answer given by the candidate was not correct.

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

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

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

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

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

    Thanks for providing right content

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

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

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

    Collections array list,hash map,linked list.

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

    Anyone explain loose coupling in 2 microservices? 21:41

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

      Look out for async comunication between microservices

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

  • @mklearning6468
    @mklearning6468 Месяц назад

    Very helpful video 🎉

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

    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

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

    Brother please upload more videos 👍

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

    Interface is contract.

  • @匿名-x5m
    @匿名-x5m 15 дней назад

    Can someone please tell me if you have ever gotten data structures and algorithm questions in your interview for java, spring boot or microservice job role?

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

    Good one

  • @amolmandlik
    @amolmandlik 5 месяцев назад +1

    I think this is a Mock interview

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

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

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

    default static and functional interfaces.

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

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

    Nailled it bro

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

    Amazing bro

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

    Literal and object i think

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

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

  • @Striver1155
    @Striver1155 20 дней назад

    Wrong answer for String

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

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

    TQ

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

    Pool and heap

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

    correct

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

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

    Please make videos on microservices

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

    Interface is not clearly understood

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

    What about salary

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

      That is discussed with hr before the technical interview.

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

    Did he use Chat GPT on the screen? o_o

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

    Scripted but Wow l learnt a lot

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

    nice

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

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

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

      Hello,
      These are mock interviews.

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

  • @aishwaryakempu5729
    @aishwaryakempu5729 26 дней назад

    feels like a fresher interview. Not useful for experienced

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