Interview Experience of Publicis Sapient | Java interview Live !!

Поділитися
Вставка
  • Опубліковано 7 вер 2024
  • Join this channel to get access to perks:
    / @codeatoz
    Welcome to Code With Roy !!
    Here, we dive deep into the world of IT, covering a wide range of topics including Core Java concepts, Spring Boot, Microservices, Java interview experiences for both freshers and experienced professionals, and insights into the dynamic IT life.
    Whether you're just starting your IT journey or looking to enhance your skills and knowledge, you'll find valuable content tailored to your needs. Our goal is to provide comprehensive resources, tutorials, tips, and real-world experiences to help you succeed in the ever-evolving technology field.
    🎯 Ready to ace your interviews and level up your career? Book a personalized 1:1 mentorship session with me!
    In this exclusive mentorship program, you'll get tailored guidance and expert insights to help you excel in your interviews and achieve your career goals. Whether you're preparing for a job interview, seeking career advice, or aiming for professional growth, I'm here to support you every step of the way.
    Book Here ⬇️
    topmate.io/deb...
    Connect with me on LinkedIn for professional networking and updates: [LinkedIn Digital Debjeet]( / digitaldebjeet )
    Join our Telegram channel for discussions, Q&A sessions, and exclusive content: [Telegram Channel](t.me/+sBtqK4uY...)
    Don't forget to hit the subscribe button and turn on notifications so you never miss out on our latest uploads. Thank you for joining us on this exciting journey through the IT world!

КОМЕНТАРІ • 49

  • @akadeadahot7067
    @akadeadahot7067 29 днів тому

    Interviews are like my self considering me as a candidate n trying to answer those questions ...really good one because i found jvm profiler question from it👍

  • @ankitasinha6228
    @ankitasinha6228 Місяць тому +1

    At 32:03, equals() method is used on keys of Hashmap, not on values.

  • @sudarshanpatil7578
    @sudarshanpatil7578 Місяць тому

    The OG of Java, Huge Respect

  • @tabrezshaikh7705
    @tabrezshaikh7705 Місяць тому +2

    This should have been the code for the first question from my understanding.
    import java.util.Date;
    interface Behaviour {
    public abstract void doEat();
    public abstract void doSleep();
    public abstract void doWork();
    }
    interface Driver extends Behaviour {}
    interface Manager extends Behaviour {}
    class Address {}
    public class Person implements Manager, Driver {
    private String name;
    private Integer age;
    private Date dob;
    private Address address;
    @Override
    public void doEat() {
    System.out.println("Eating...");
    }
    @Override
    public void doSleep() {
    System.out.println("Sleeping...");
    }
    @Override
    public void doWork() {
    System.out.println("Working...");
    }
    }

    • @dheerajmadan1439
      @dheerajmadan1439 21 день тому

      Rather this-> // Interface with default methods
      interface Person {
      String getName();
      default void doEat() {
      System.out.println(getName() + " is eating.");
      }
      default void doSleep() {
      System.out.println(getName() + " is sleeping.");
      }
      void doWork();
      }
      // Concrete class with common attributes
      class PersonImpl implements Person {
      private String name;
      private int age;
      private Date dob;
      public PersonImpl(String name, int age, Date dob) {
      this.name = name;
      this.age = age;
      this.dob = dob;
      }
      @Override
      public String getName() {
      return name;
      }
      public int getAge() {
      return age;
      }
      public Date getDob() {
      return dob;
      }
      @Override
      public void doWork() {
      System.out.println(name + " is working.");
      }
      }
      // Manager class extending PersonImpl
      class Manager extends PersonImpl {
      public Manager(String name, int age, Date dob) {
      super(name, age, dob);
      }
      @Override
      public void doWork() {
      System.out.println(getName() + " is managing the team.");
      }
      }
      // Driver class extending PersonImpl
      class Driver extends PersonImpl {
      public Driver(String name, int age, Date dob) {
      super(name, age, dob);
      }
      @Override
      public void doWork() {
      System.out.println(getName() + " is driving the vehicle.");
      }
      }

  • @mohitpant1
    @mohitpant1 Місяць тому

    Nice Job . It will help to clear the interview who is preparing it

  • @MusiqMindz
    @MusiqMindz 9 днів тому

    The class singleton class actually create single object of connection. Because connection creation is costly and heavy for the jvm to connect jdbc to jvm. Am i right?

    • @codeAtoZ
      @codeAtoZ  9 днів тому

      Yes... Its benefit which is achieved due to single object creation feature of Singleton class

  • @tejastipre9787
    @tejastipre9787 7 днів тому

    Aaj hi interview diya hu 31 aug 2024
    Worst interviewer never ask about the project and introduction and continue asking questions 1.30 hrs

  • @Petrichor1314
    @Petrichor1314 Місяць тому

    Thank you for raw upload

  • @AjeetSingh-qi5sf
    @AjeetSingh-qi5sf Місяць тому +1

    Sir if you can provide some important topics for 2.9 year experience for java developers

    • @codeAtoZ
      @codeAtoZ  Місяць тому +1

      Study Core Java OOPs concepts in depth, Collections, Multithreading, Design Patterns, Spring boot basics, Java 8 new features specially streams, Lambda function, Functional interface, Optional class usages apart from null checks, Futures, CompletableFuture, coding om streams, arrays, strings and Hashmap Data structure coding like sorting and comparisons.

  • @yogeshsharma-di6oy
    @yogeshsharma-di6oy Місяць тому

    at 7:09, class should implements interface, you are extending the interface which is wrong.

    • @codeAtoZ
      @codeAtoZ  Місяць тому

      Yes.. I haven't noticed that before... I thought it to be an abstract class...

  • @mansoor_333
    @mansoor_333 Місяць тому +2

    why is he interviewing for 2 hours? if it mentioned in mail , then fine. Also 2 hours for L1 is completely not acceptable

    • @mayanksharma1491
      @mayanksharma1491 Місяць тому

      Exactly...2 hrs in one stretch or one day is not acceptable...

    • @AshutoshSingh-mh7qm
      @AshutoshSingh-mh7qm Місяць тому

      Yaar Mera bhi schedule hua hai aur 2 hours ka hi slot hai.

    • @damndozer
      @damndozer Місяць тому

      We need to check everything core advanced cloud experience , pls don't forget. I am a interviewer from PS

    • @mansoor_333
      @mansoor_333 Місяць тому

      @@damndozer is this L1 or L2 round?

    • @mansoor_333
      @mansoor_333 Місяць тому

      @@damndozer since candidate is throughly interviewed for 2 hours starting from core java basic to Cloud advanced topics , i hope there will be no L2 round next and HR round will be next

  • @humanplanet8728
    @humanplanet8728 Місяць тому +2

    Did you get selected? If yes, how much did they offer ?

  • @amanverma8097
    @amanverma8097 14 днів тому

    Bhai result kya hua.. selected or not.. and thanks for raw recording.. genuine interview

  • @ayaniegain
    @ayaniegain Місяць тому

    Hello Dada, I just wanted to know, as you are a backend specialist Java developer, what are the in-demand profiles I can try in IT?

    • @codeAtoZ
      @codeAtoZ  Місяць тому

      It depends upon your skills set and experience.. Currently Spring boot, security, microservices, sticker, kubernetes and cloud is in demand

  • @tabrezshaikh7705
    @tabrezshaikh7705 Місяць тому +1

    At 38:15 You answered the question correctly. I dont know why the interviewer asked you to "brush up" your concepts.
    A heterogeneous list would look something like:
    List list = new ArrayList();
    list.add(5); // Compiles
    list.add("String"); // Compiles
    And a homogeneous would look something like:
    List list = new ArrayList();
    list.add(5); // Compiles
    list.add("String"); // Error

    • @vinaykaushikinvisble
      @vinaykaushikinvisble Місяць тому

      simple answer was List can grow and arrays can not grow, interviewer is correct. both can hold heterogeneous objects,

    • @tabrezshaikh7705
      @tabrezshaikh7705 Місяць тому

      @@vinaykaushikinvisble
      No Vinay, the question is simple. Can you write down an example of Heterogeneous list and he wrote down exactly an example of what was asked.
      Later he asked, why didn’t you mention a generic type on line 142. The answer which Roy gave is also correct. If generic type is mentioned, he couldn’t have added an Integer and a String in the same list object.
      Furthermore, Heterogeneity is NOT AT ALL about difference in sizing but rather about data types.
      I think you should brush up your concepts on Heterogeneity.

    • @vinaykaushikinvisble
      @vinaykaushikinvisble Місяць тому

      @@tabrezshaikh7705 ok thanks for explaining. You are correct. Where I can brush up?

    • @akadeadahot7067
      @akadeadahot7067 29 днів тому +2

      @@tabrezshaikh7705
      List list = new ArrayList();
      list.add("Hello");
      list.add(42);
      list.add(3.14);
      list.add(true);
      for (Object element : list) {
      System.out.println(element);
      }
      The same way interviewer ask him tu brush up because object class is base class for all wrapper classes and yes if wr use it then it will be easy to create a heterogeneous list hope u understand
      Please correct if I'm wrong

  • @sadabsekh2235
    @sadabsekh2235 21 день тому

    Hi, I am having 2.8 years of experience, How are u getting lot of interview calls? I am applying since 3-4 months not getting any calls.

    • @codeAtoZ
      @codeAtoZ  21 день тому +1

      We have to optimize Resume and Linkedin profile to get Recruiters calls. If you want complete imdepth analysis for the same you can schedule a 1:1 call from link in my Linkedin bio or any video description. We will sit and discuss your hurdles and will rectify them completely.

  • @karthiksundaram544
    @karthiksundaram544 Місяць тому

  • @TechPs_pankaj
    @TechPs_pankaj Місяць тому

    1-2 ghante Interview liya hai, 1-2 minute me nikal bhi sakte hai ye Publicis wale agar project na ho to. ,worst company hai bhaii,job security nahi hai, No matter how much talented you are.

  • @altrinruban3843
    @altrinruban3843 2 дні тому

    public interface Behaviour {
    void doEat();
    void doSleep();
    void doWork();
    }
    public abstract class Person implements Behaviour {
    private String name;
    private int age;
    public String getName() {
    return name;
    }
    public int getAge() {
    return age;
    }
    public void setAge(int age) {
    this.age = age;
    }
    public void setName(String name) {
    this.name = name;
    }
    public Person(String name, int age) {
    this.name = name;
    this.age = age;
    }
    public class Manager extends Person {
    public Manager(String name, int age) {
    super(name, age);
    }
    @Override
    public void doEat() {
    System.out.println("manager person eat");
    }
    @Override
    public void doSleep() {
    System.out.println("manager person sleep");
    }
    @Override
    public void doWork() {
    System.out.println("manager person work");
    }
    }
    public class Driver extends Person{
    public Driver(String name, int age) {
    super(name, age);
    }
    @Override
    public void doEat() {
    System.out.println("Driver person eat");
    }
    @Override
    public void doSleep() {
    System.out.println("Driver person sleep");
    }
    @Override
    public void doWork() {
    System.out.println("Driver person work");
    }
    }
    while calling
    Behaviour driverBehaviour = new Driver(28,"xyz");

  • @codeamon
    @codeamon Місяць тому

    for which position?

    • @codeAtoZ
      @codeAtoZ  Місяць тому

      Technical Associate