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!
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👍
At 32:03, equals() method is used on keys of Hashmap, not on values.
Yes
The OG of Java, Huge Respect
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...");
}
}
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.");
}
}
Nice Job . It will help to clear the interview who is preparing it
Thank you
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?
Yes... Its benefit which is achieved due to single object creation feature of Singleton class
Aaj hi interview diya hu 31 aug 2024
Worst interviewer never ask about the project and introduction and continue asking questions 1.30 hrs
Yes right
Thank you for raw upload
Sir if you can provide some important topics for 2.9 year experience for java developers
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.
at 7:09, class should implements interface, you are extending the interface which is wrong.
Yes.. I haven't noticed that before... I thought it to be an abstract class...
why is he interviewing for 2 hours? if it mentioned in mail , then fine. Also 2 hours for L1 is completely not acceptable
Exactly...2 hrs in one stretch or one day is not acceptable...
Yaar Mera bhi schedule hua hai aur 2 hours ka hi slot hai.
We need to check everything core advanced cloud experience , pls don't forget. I am a interviewer from PS
@@damndozer is this L1 or L2 round?
@@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
Did you get selected? If yes, how much did they offer ?
Got call from another company with better package
@@codeAtoZ means you are not selected
@@codeAtoZCognizant may be 😂
Bhai result kya hua.. selected or not.. and thanks for raw recording.. genuine interview
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?
It depends upon your skills set and experience.. Currently Spring boot, security, microservices, sticker, kubernetes and cloud is in demand
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
simple answer was List can grow and arrays can not grow, interviewer is correct. both can hold heterogeneous objects,
@@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.
@@tabrezshaikh7705 ok thanks for explaining. You are correct. Where I can brush up?
@@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
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.
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.
❤
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.
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");
for which position?
Technical Associate