his way of giving answers are too much sleepy. not giving precise point to point answers. and most of them are not closer to the right answer. we should mark it as worst answering method. it was attended so badly not god and all LOL 😂
Here are my top 5 favourite java questions: 1. What is java memory model? Explain differences between pre java 8 and post java 8 memory model. 2. What is a garbage collector? Explain all GCs upto java latest stable release. What is mark and sweep algorithm in GC? 3. Write a Fibonnaci calculator using a ForkJoinPool. 4. Write a ConcurrentQueue using wait and notify. 5. Give a stream of employees having id and name, using Java streams, give me a map where keys will be first letter of the name and value will be a set of employee names starting with that letter. My top 5 favourite Spring boot questions: 1. What is application context? What is web application context and dispatcher servlet? How are they related? 2. How do I create my own spring boot "starter". 3. Explain step by step how will you write a unit test for a TODO app created with spring boot. 4. I want to log the name of the method which gets executed when a route path of a particular controller gets called. How do I design such a solution without code repetition (Use AOP) 5. What is Isolation and propagation in a database transaction? What is locking? Why is it needed? Explain a few locking mechanisms!
I want to log the name of the method which gets executed when a route path of a particular controller gets called. How do I design such a solution without code repetition (Use AOP):: @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) public @interface LogExecutionTime { } @Aspect @Component @Slf4j public class LoggingAspect { @Around("(@annotation(org.springframework.web.bind.annotation.GetMapping) || "&& @annotation(com.devsu.challenge.config.aop.LogExecutionTime)") public Object logExecutionTime(ProceedingJoinPoint joinPoint) throws Throwable { String methodName = joinPoint.getSignature().getName(); log.info("Starting execution method {}", methodName); Object result = joinPoint.proceed(); log.info("Finished execution method {}", methodName); return result; } } @RestController public class ExampleController { @GetMapping() @LogExecutionTime public ResponseEntity getHello(){ try{ String result = "Hello world"; return new ResponseEntity(result, HttpStatus.OK); }catch (Exception e){ return new ResponseEntity(null, HttpStatus.BAD_REQUEST); } }
Adding to it--> High level modules should not depend on low leve modules both should depends on abstraction. it helps to make the code lously coupled and assing the object dynamically for the particular task.
Hello bro by seeing your command it feels like you have vast knowledge in Java. I am just a beginner with skills in core Java concepts and a slight idea of Spring Could you share some guidance on how I can learn more and gain additional knowledge
"Java God" do not know meven lifecycle.. seriously ???? Please change the video thumbnail as this is misleading. You are doing good job by taking interviews but lets not overexaggerate it.
How to find Class not found Exeception!! By not writing bad code is the answer and actually testing the code, (not mocking). Most people struggle with errors not because they are esoteric, its because they either dont actually "read" the message, or they haven't spent enough time with the language to get a feel for the error message and possible. A shining example is javascript. People who don't really know JS, have never seen or read the ES manual, are the ones complaining how bad it is, Uncaught exception bla blabla. The ones who know JS, are mostly 50% grumpy about it. :D
At 14:50, Wrong. Concurrent hashmap is synchronized thus allows only one thread to access it any given time. HashMaps are more efficient being asynchronous or not thread safe.
One thread can access it one at time but that is for update operation and for reading purpose multiple thread can access it it depends on concurrency level default concurrency level is 16 so 16 thread can access concurrenthashmap to read the data.
Concurrent hashmap is synchronized but not the whole map area. instead only the segment is synchronized which is thread safe. other threads can concurrently work on other segments. thus Concurrent hashmap support concurrency in modern multithreaded environment. In java 8, concurrent hashmap is even improved with fine grain locking, where locks are applied at a more granular level, such as individual buckets/bins or groups of bins.
I have a vast experience in different product companies, I guarantee you the average developer with 3 years of experience has more knowledge than 14 years of experience when compared to service-based organization.
The coding part was sligthly wrong it will give compile time error. I think you missed it how he is stroring the values in the map. He has taken Map instead it should be Map . and also better to take key as character instead of string. we can use Stream.of(s.toCharArray).collect(Collectors.groupingBy.....
The real pain with microservices is managing distributed transactions, regardless if we are using common database or dedicated database for each service. However there are certain solutions to it loke 2 phase commit or saga pattern but bit verbose and complex to implement. The balanced approach is neither microservice nor monolithic, its the modular monolith with mono repo approach or SOA architecture.
Feels like the interviewer was impressed because he had the questions but was less knowledgeable than the candidate for those questions and the candidate took time and examples to explain with jargons and concepts which gives an image of being knowledgeable but not all his answers are upto the mark or applicable for questions asked. For 14 yrs it was surprising he wasn't aware of Maven life cycle or atleast basics to explain. Docker explanation was just the build he runs in his project but not the actual concept of dockerization. Explanation for application design for Zomato in 2024 was at a very basic level that applies for any simple application and could have been explained at a level of handling the complexities of such popular and high traffic applications.
Bro I gave the interview At Accenture on 31st May 2024 they asked me the most security-related questions and Microservices-related questions. My experience is not sufficient to answer those questions.
Why to God level to mislead users, it just a normal interview for 3-5 years guy. 17:20 for immutable class only final and private member, no setter will not work, he missed Deep copy. Very basic answers for Spring Transaction, he didn't know MAVEN cycle, VAR keyword introduced in Java10, he said Java 17, his program also doesn't work. I am fine with this interview but mentioning GOD level is not at all acceptable.
Yes. And, the thousands of people contributing to Openjdk... and the Java community over the years? Submitting well written JSRs, maintaining the openjdk repository, adding features... what about them?
His answer on why a common database shouldnt be used for different microservices was very confusing and probably wrong ( not sure why different databaseb shud resolve what seems to be a pub sub problem ) ..whatever be the challenges he faced he could still have used multiple schemas in same database ..using different database for each microservice can have cost implications expecially in a cloud environment..
Liquibase is not used for CRUD operation. It's used for database versioning. Who uses common database in microservices architecture. Kuch v bole Jaa Raha hai..
I didn’t even understand what problem he got by having same database. Not same data on different services? How come it happen if all services are reading values from same database? Instead, the problem he mentioned should occur when you have seperate database for each microservices.
i am fresher no experience , want to start my jounery at entry level , learning springboot now , can you help me what project should i include in my resume and how to get a job ?
The coding part is wrong in his solution, It should be combined in a map of key as String and value as long. You can use stream api on character of streams and use groupingBy method to evaluate the count of each character.
I didn’t even understand what problem the java’s GOD (😉) faced by having same database. Not same data on different services? How come it happen if all services are reading values from same database? Instead, the problem he mentioned should occur when you have seperate database for each microservices.
He's right actually because if a service is down and if there's a common service between all microservices which appends the data, due to the failure of a specific microservice that data will be lost
Map charMap = Arrays.stream(str.split("")).collect(Collectors.groupingBy(Function.identity(), Collectors.counting())); is great I just wanna add some info. Here we get error when we use Method References for identity and counting here like Map charMap = Arrays.stream(str.split("")).collect(Collectors.groupingBy(Function::identity, Collectors::counting)); REASON ----- Because this identity and counting methods don’t have expected number of arguments (here expected number of args is 1 to use a method as method reference) Another example: Map countInDeptMap = employees.stream().collect(Collectors.groupingBy(Employee::getDepartment,Collectors.summingInt(Employee::getSalary))); Here we can use getDepartment, getSalary methods as Method reference as they have expected number of argument count.
This interview is for a senior developer or team lead position not for a professional with 14 years of experience. I bet no one can answer anyone of ur technical questions with 14 + years of experience.
Scalability is how many customers can hit ur app. That can be achieved with monolithic apps, also with good solid principles nd parallel processing coupled with high performance code both in time nd space complexity. Ur heap shouldn't be over stressed be it mono lithic or microservices app
The code he wrote is erroneous. He should have assigned the result of the stream operation to a Map Not Map. Map frequency = Arrays.stream(input.split("")) .groupingBy(Function.identity(),Collectors.counting());
Okay if we purchase for 499rs its enough right to crack interview.. And once we pay we will get for sure 16 pdfs right.. Pls let me know is it trustable
Even James Gosling will never call himself as god level in Java
Java is ocean , no one has god level knowledge.
True
Saying "God Level" is too much. Don't exaggerate. He's a normal developer with basic coding/project skills.
No its fine . It might be his perception. He might have seen only this level of expertise in his work tenure.
Agree, Highly exaggerated !!!!!
The code he has written will give compile time error but approach was good
his way of giving answers are too much sleepy. not giving precise point to point answers. and most of them are not closer to the right answer. we should mark it as worst answering method. it was attended so badly not god and all LOL 😂
the way he answered was bit irritating us. I forgot to add
Here are my top 5 favourite java questions:
1. What is java memory model? Explain differences between pre java 8 and post java 8 memory model.
2. What is a garbage collector? Explain all GCs upto java latest stable release. What is mark and sweep algorithm in GC?
3. Write a Fibonnaci calculator using a ForkJoinPool.
4. Write a ConcurrentQueue using wait and notify.
5. Give a stream of employees having id and name, using Java streams, give me a map where keys will be first letter of the name and value will be a set of employee names starting with that letter.
My top 5 favourite Spring boot questions:
1. What is application context? What is web application context and dispatcher servlet? How are they related?
2. How do I create my own spring boot "starter".
3. Explain step by step how will you write a unit test for a TODO app created with spring boot.
4. I want to log the name of the method which gets executed when a route path of a particular controller gets called. How do I design such a solution without code repetition (Use AOP)
5. What is Isolation and propagation in a database transaction? What is locking? Why is it needed? Explain a few locking mechanisms!
For which level of experience these questions can be asked?
@@mamtapandey6 5 to 7+ years
@@ManishTiwari-or8zt appreciate your effort. It's mostly correct. But the question was to group by first letter and names only.
I want to log the name of the method which gets executed when a route path of a particular controller gets called. How do I design such a solution without code repetition (Use AOP)::
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface LogExecutionTime {
}
@Aspect
@Component
@Slf4j
public class LoggingAspect {
@Around("(@annotation(org.springframework.web.bind.annotation.GetMapping) ||
"&& @annotation(com.devsu.challenge.config.aop.LogExecutionTime)")
public Object logExecutionTime(ProceedingJoinPoint joinPoint) throws Throwable {
String methodName = joinPoint.getSignature().getName();
log.info("Starting execution method {}", methodName);
Object result = joinPoint.proceed();
log.info("Finished execution method {}", methodName);
return result;
}
}
@RestController
public class ExampleController {
@GetMapping()
@LogExecutionTime
public ResponseEntity getHello(){
try{
String result = "Hello world";
return new ResponseEntity(result, HttpStatus.OK);
}catch (Exception e){
return new ResponseEntity(null, HttpStatus.BAD_REQUEST);
}
}
@@phoneix24886
Updated the code:
Map map2=lisOfPerson.stream()
.collect(Collectors.groupingBy(p->p.getName().substring(0, 1),Collectors.mapping(Person::getName, Collectors.toList())));
He's really knowledgeable. Instead of bookish answers. He gave answers from his experiences
Even questions are bookish.
SOLID -> All are correct but D is for dependency inversion , lower modules not directly interact with higher module some layer should introduced.!!
Adding to it--> High level modules should not depend on low leve modules both should depends on abstraction.
it helps to make the code lously coupled and assing the object dynamically for the particular task.
Hello bro by seeing your command it feels like you have vast knowledge in Java. I am just a beginner with skills in core Java concepts and a slight idea of Spring Could you share some guidance on how I can learn more and gain additional knowledge
"Java God" do not know meven lifecycle.. seriously ???? Please change the video thumbnail as this is misleading.
You are doing good job by taking interviews but lets not overexaggerate it.
Maven 😮
He is the real god I have not seen a bigger god than him. Only thing i felt is he is not happy with something but overall great stuff
How to find Class not found Exeception!! By not writing bad code is the answer and actually testing the code, (not mocking). Most people struggle with errors not because they are esoteric, its because they either dont actually "read" the message, or they haven't spent enough time with the language to get a feel for the error message and possible. A shining example is javascript. People who don't really know JS, have never seen or read the ES manual, are the ones complaining how bad it is, Uncaught exception bla blabla. The ones who know JS, are mostly 50% grumpy about it. :D
build ur project
Candidate mentioned 14 story points. Story points should follow fibonacci series. Then how it comes 14🤔
nothing as god level in this there are lot more people out there who contribute to open source and have very good knowledge
Correct
what is god level here he is a normal developer , even good developer who has hands on will know this
He is too good . Just a small mistake in the last coding question . It will be Map rather then Map 👍
At 14:50, Wrong. Concurrent hashmap is synchronized thus allows only one thread to access it any given time. HashMaps are more efficient being asynchronous or not thread safe.
One thread can access it one at time but that is for update operation and for reading purpose multiple thread can access it it depends on concurrency level default concurrency level is 16 so 16 thread can access concurrenthashmap to read the data.
Oh nongid is making mistakes 😢😮😂😂😂
Concurrent hashmap is synchronized but not the whole map area. instead only the segment is synchronized which is thread safe. other threads can concurrently work on other segments. thus Concurrent hashmap support concurrency in modern multithreaded environment.
In java 8, concurrent hashmap is even improved with fine grain locking, where locks are applied at a more granular level, such as individual buckets/bins or groups of bins.
I have a vast experience in different product companies, I guarantee you the average developer with 3 years of experience has more knowledge than 14 years of experience when compared to service-based organization.
The coding part was sligthly wrong it will give compile time error. I think you missed it how he is stroring the values in the map. He has taken Map instead it should be Map .
and also better to take key as character instead of string. we can use Stream.of(s.toCharArray).collect(Collectors.groupingBy.....
Then it should be Map , i feel
@@tejenderjeetsingh9705 Map mapInp = input.chars()
.mapToObj(c -> (char) c)
.collect(Collectors.groupingBy(Function.identity(), Collectors.counting()));
mapInp.forEach((key, value) -> System.out.println(key + ":" + value));
Map mapInp = input.chars()
.mapToObj(c -> (char) c)
.collect(Collectors.groupingBy(Function.identity(), Collectors.counting()));
mapInp.forEach((key, value) -> System.out.println(key + ":" + value));
The real pain with microservices is managing distributed transactions, regardless if we are using common database or dedicated database for each service.
However there are certain solutions to it loke 2 phase commit or saga pattern but bit verbose and complex to implement.
The balanced approach is neither microservice nor monolithic, its the modular monolith with mono repo approach or SOA architecture.
Feels like the interviewer was impressed because he had the questions but was less knowledgeable than the candidate for those questions and the candidate took time and examples to explain with jargons and concepts which gives an image of being knowledgeable but not all his answers are upto the mark or applicable for questions asked.
For 14 yrs it was surprising he wasn't aware of Maven life cycle or atleast basics to explain.
Docker explanation was just the build he runs in his project but not the actual concept of dockerization.
Explanation for application design for Zomato in 2024 was at a very basic level that applies for any simple application and could have been explained at a level of handling the complexities of such popular and high traffic applications.
Can we connect on LinkedIn?
Bro I gave the interview At Accenture on 31st May 2024 they asked me the most security-related questions and Microservices-related questions. My experience is not sufficient to answer those questions.
What's your experience
Instead of just asking questions if the candidate is incorrect, you should tell the correct answer. good for viewers as well.
I do most of the time
@@genz-career anyways, good way of knowledge sharing. people get engaged while watching your videos. kudos to you :)
Java god is only durga Sir from durgasoft...
May be
Sonar cube or Sonar lint won't bother about encryption and description. It is a tool for code quality.
Why to God level to mislead users, it just a normal interview for 3-5 years guy. 17:20 for immutable class only final and private member, no setter will not work, he missed Deep copy.
Very basic answers for Spring Transaction, he didn't know MAVEN cycle, VAR keyword introduced in Java10, he said Java 17, his program also doesn't work. I am fine with this interview but mentioning GOD level is not at all acceptable.
Can we connect on LinkedIn?
Whats a decent salary pool for Java Spring boot developer with 6.5 Years experience?
I am also wanting to know. Guess 18 - 24 LPA is the average
How can having password in the source leads to SQL injection?SONAR completely different from scanning source code for finding vulnerabilities
He is "Good level of java" then what about "James Gosling" who create java programming language
Yes. And, the thousands of people contributing to Openjdk... and the Java community over the years? Submitting well written JSRs, maintaining the openjdk repository, adding features... what about them?
How to connect with you 1:1 bro? can you share you linkedin ?
Saying God level. Which world you living in.
java 10 introduced the var keyword not 17. 38:20
Thankyou for bringing the experienced guys... Bring more
Sure
If he is Java's GOD, then what about James Gosling, the JAVA Creator?
Liquibase is not for transactions, it's for database schema change management.
Are you crazy to mention GOD here? Is he immortal to start with?
His answer on why a common database shouldnt be used for different microservices was very confusing and probably wrong ( not sure why different databaseb shud resolve what seems to be a pub sub problem ) ..whatever be the challenges he faced he could still have used multiple schemas in same database ..using different database for each microservice can have cost implications expecially in a cloud environment..
Liquibase is not used for CRUD operation. It's used for database versioning.
Who uses common database in microservices architecture.
Kuch v bole Jaa Raha hai..
I didn’t even understand what problem he got by having same database. Not same data on different services? How come it happen if all services are reading values from same database? Instead, the problem he mentioned should occur when you have seperate database for each microservices.
Really helpful thanks
i am fresher no experience , want to start my jounery at entry level , learning springboot now , can you help me what project should i include in my resume and how to get a job ?
The coding part is wrong in his solution, It should be combined in a map of key as String and value as long. You can use stream api on character of streams and use groupingBy method to evaluate the count of each character.
See if u can get Full stack with experience of 6-8-10 yrs
I want to know that how God Level Skills - not able to acheive DB consistency in same DB ? He is not aware ?
Java is High Level Lang.....To be God in Programming someone needs to go as low as possible....Try Haskell😂😂😂
God level skills and dude cant remember how the collisions are solved in the hashmap ? cmon... This guy sounds like a medior/very early senior
Are these questions related to 14+ years of experience for Java Spring Boot ? Please acknowledge
@@gousri1 Yes
I didn’t even understand what problem the java’s GOD (😉) faced by having same database. Not same data on different services? How come it happen if all services are reading values from same database? Instead, the problem he mentioned should occur when you have seperate database for each microservices.
He's right actually because if a service is down and if there's a common service between all microservices which appends the data, due to the failure of a specific microservice that data will be lost
problem with monolithic isn't deployment but vertical scaling.
Correct
Map charMap = Arrays.stream(str.split("")).collect(Collectors.groupingBy(Function.identity(), Collectors.counting()));
is great
I just wanna add some info. Here we get error when we use Method References for identity and counting here like
Map charMap = Arrays.stream(str.split("")).collect(Collectors.groupingBy(Function::identity, Collectors::counting));
REASON
-----
Because this identity and counting methods don’t have expected number of arguments (here expected number of args is 1 to use a method as method reference)
Another example:
Map countInDeptMap = employees.stream().collect(Collectors.groupingBy(Employee::getDepartment,Collectors.summingInt(Employee::getSalary)));
Here we can use getDepartment, getSalary methods as Method reference as they have expected number of argument count.
Hello
This interview is for a senior developer or team lead position not for a professional with 14 years of experience. I bet no one can answer anyone of ur technical questions with 14 + years of experience.
Kehna kya chahta hai be
@@arishsheikh3000 …, the IT industry is going down because of fake people like you who don’t know how to communicate properly.
@@arishsheikh3000 😂
Scalability is how many customers can hit ur app. That can be achieved with monolithic apps, also with good solid principles nd parallel processing coupled with high performance code both in time nd space complexity. Ur heap shouldn't be over stressed be it mono lithic or microservices app
Great
For 14 years exp programming asking questions in string occurace using streams ?
In the coding question, map value type is Long not List of string
When you listen in 2x:wow he's a God 🤯
When you listen in 1x: 🥴
His skill is commendable. However, Problem solving > Any tool(programming).
Tell bro to compete with japanese and americans 😅😅...u ll know his GOD level
He doesn't know what a hash collision is?
You are comparing😂😂😂 with God
The code he wrote is erroneous. He should have assigned the result of the stream operation to a Map Not Map.
Map frequency = Arrays.stream(input.split(""))
.groupingBy(Function.identity(),Collectors.counting());
ek interview hindi mai le sakta kya fully technical interview for experienced candidate
Map mapInp = input.chars()
.mapToObj(c -> (char) c)
.collect(Collectors.groupingBy(Function.identity(), Collectors.counting()));
mapInp.forEach((key, value) -> System.out.println(key + ":" + value));
LOL 5 years of experience looks like it. But i think it's still good for someone who spent entire lifetime in service industry
Its not like that
God level skills or Good level skills
God level skills bro basically I am using here a metaphor
@@genz-career bro please stop hmm hmm when one will give answer and also keep some patience don't so hurry...
Good work dude
Very informative and nice video
Thnq for doing this ❤❤❤
God level, really? Humans can never reach God level, people using it so casually 😂
i guesses 20+lpa.What you guesses?
20lpa is less for 14 years experience
seems streaming approach will give error.
Did you removed thumbnail or not
Otherwise you will face legal issues
@@BALAIT2020 Correct your grammar please
Could you please check now
@@BALAIT2020 it should “Did you remove”
Did you want face legal notice on this?
@@BALAIT2020 Yes
Giving answer like fresher , even based on questions he is not noble to give prepper answer. don't use "God Level Skills"
Still didn't get what exactly was the challenge he faced with microservices with common database😂
😂
But can he solve leetcode dp programs
First do u kno Java 🤣🤣🤣🤣 don't put thumbnail for comments.......
I really doubt, SOLID ka D wrong bola hai & Java version ka update bhi....
16 story points ?😮
Once after paying money.. How we will get the pdfs.. Can u pls let me know
You will get link to download in your mailid and whatsapp
Okay if we purchase for 499rs its enough right to crack interview.. And once we pay we will get for sure 16 pdfs right.. Pls let me know is it trustable
Please reply
@@poojavvp23 yes pooja
Pls reply
The question is too basic
Overhyped in description 😅
Fantastic.
Thank you! Cheers!
23:51 right question asked
Not all interviewers are like you, dont know collision lets close the interview 😂
Unnecesaary exaggeration. This is very basic level interview.
14 years of software engineering experience is a joke to these guys
Why ?
Given a question, how fo you dockerise a spring boot in production, he answers Helm chart . Pathetic fellow ! Cant he admit he doesnt know !
So basically so basically 😂😂 literally he has said basically before every answer 😂
Bring more experienced guys,
Change the thumbnail
God level in programming world means 😂 too much bro. Iron man wouldn't call him god level😅
God level really ?
Click bait
lot of rambling on in parts.
hmm hmm all time during the interview
hmm
LETS DO ONE TO ONE WITH GOD & LET ME CHECK HIS GOD LEVEL SKILLS?
Sure why not
What do you mean God level ,Kuch bhi 😂
kya bhai, kuch bhi
God😂😂😂😂
Java god ?😂
Modda
nonsense, person with lesser experience interviewing person with close to double yoe.
but can he code in cobol 🤣🤣 jk
There is no god except for Allah. It is pity that calling any humanbeing a god.
Who is that?
Clickbait
you are delusional.
can you share his LinkedIn or any socials you have.
he is like 3 yrs exp ... lmfao...