- 7
- 73 336
Cool Code
เข้าร่วมเมื่อ 31 ก.ค. 2021
Morgan Stanley Java Interview | Latest Java Interview Questions Answers
This video contains java interview questions , Microservices interview questions and answers, spring springboot interview questions for senior developer role.
This interview was conducted for Morgan Stanley Senior Java Developer on 27/07/2021 for java developer profile 8+ years experience.
Please mail me , if you have some latest interview questions on ubercoolcode@gmail.com , we will upload
them anonymously on this channel.
#Java #Java8 #Spring #SpringBoot #Microservices #Hibernate #REST #DesignPatterns #Kafka #React #MongoDB #Azure
This interview was conducted for Morgan Stanley Senior Java Developer on 27/07/2021 for java developer profile 8+ years experience.
Please mail me , if you have some latest interview questions on ubercoolcode@gmail.com , we will upload
them anonymously on this channel.
#Java #Java8 #Spring #SpringBoot #Microservices #Hibernate #REST #DesignPatterns #Kafka #React #MongoDB #Azure
มุมมอง: 25 345
วีดีโอ
IBM Java Interview | Latest Java Interview Questions Answers
มุมมอง 3.4K3 ปีที่แล้ว
This video contains java interview questions , Microservices interview questions and answers, spring springboot interview questions for senior developer role. This interview was conducted for IBM Full Stack Role on 22/07/2021 for java developer profile 8 years experience. Please mail me , if you have some latest interview questions on ubercoolcode@gmail.com , we will upload them anonymously on ...
Capgemini Java Interview | Latest Java Interview Questions Answers
มุมมอง 4.7K3 ปีที่แล้ว
This video contains java interview questions , Microservices interview questions and answers, spring springboot interview questions for senior developer role. This interview was conducted for Capgemini Full Stack Role on 21/07/2021 for java developer profile 6 years experience. Please mail me , if you have some latest interview questions on ubercoolcode@gmail.com , we will upload them anonymous...
Oracle Java Interview | Latest Java Interview Questions Answers
มุมมอง 8K3 ปีที่แล้ว
This video contains java interview questions , Microservices interview questions and answers, spring springboot interview questions for senior developer role. This interview was conducted for Oracle Full Stack Role on 19/07/2021 for java developer profile 8 years experience. Please mail if you have some latest interview questions on ubercoolcode@gmail.com , we will upload them anonymously on th...
Walmart Java Interview | Latest Java Interview Questions Answers
มุมมอง 11K3 ปีที่แล้ว
This video contains java interview questions , Microservices interview questions and answers, spring springboot interview questions for senior developer role. This interview was conducted for Walmart Full Stack Role on 15/07/2021 for java developer profile 8 years experience. Please mail if you have some latest interview questions on ubercoolcode@gmail.com , we will upload them anonymously on t...
Boeing Java Interview | Latest Java Interview Questions Answers
มุมมอง 9K3 ปีที่แล้ว
This video contains java interview questions , Microservices interview questions and answers, spring springboot interview questions for senior developer role. This interview was conducted on 14/07/2021 for java developer profile 8 years experience. Please mail if you have some latest interview questions on ubercoolcode@gmail.com , we will upload them anonymously on this channel. #Java #Java8 #S...
Accolite Java Interview | Latest Java Interview Questions Answers
มุมมอง 11K3 ปีที่แล้ว
This video contains java interview questions , Microservices interview questions and answers, spring springboot interview questions for senior developer role. This interview was conducted on 05/07/2021 for java developer profile 8 years experience. Please mail if you have some latest interview questions on ubercoolcode@gmail.com , we will upload them anonymously on this channel. #Java #Java8 #S...
Answer to Question 11: Spring IoC Container is the core of Spring Framework. It creates the objects, configures and assembles their dependencies, manages their entire life cycle. Spring Dependency injection is a way to inject the dependency of a framework component by the following ways of spring: Constructor Injection and Setter Injection. Spring helps in creating objects, managing objects, configurations, etc. because of IoC (Inversion of Control). Spring framework helps in the creation of loosely-coupled applications because of Dependency Injection. Spring IoC is achieved through Dependency Injection Dependency Injection is the method of providing the dependencies and Inversion of Control is the end result of Dependency Injection. IoC is a design principle where the control flow of the program is inverted. Dependency Injection is one of the subtypes of the IOC principle. Aspect-Oriented Programming is one way to implement Inversion of Control. In case of any changes in business requirements, no code change is required.
Enjoying your 35 lacs base package brother ? Please create some videos also!
Enjoying your 35 lacs base package brother ? Please create some videos also!
Enjoying your 35 lacs base package brother ? Please create some videos also!
Enjoying your 35 lacs base package brother ? Please create some videos also!
Enjoying your 35 lacs base package brother ? Please create some videos also!
enjoying your 35 lac base package brother ? please create some videos also.
Answer to Question 6: In the Java language, you wait() on a particular instance of an Object - a monitor assigned to that object to be precise. If you want to send a signal to one thread that is waiting on that specific object instance then you call notify() on that object. If you want to send a signal to all threads that are waiting on that object instance, you use notifyAll() on that object. If wait() and notify() were on the Thread instead then each thread would have to know the status of every other thread. How would thread1 know that thread2 was waiting for access to a particular resource? If thread1 needed to call thread2.notify() it would have to somehow find out that thread2 was waiting. There would need to be some mechanism for threads to register the resources or actions that they need so others could signal them when stuff was ready or available. In Java, the object itself is the entity that is shared between threads which allows them to communicate with each other. The threads have no specific knowledge of each other and they can run asynchronously. They run and they lock, wait, and notify on the object that they want to get access to. They have no knowledge of other threads and don't need to know their status. They don't need to know that it is thread2 which is waiting for the resource - they just notify on the resource and whomever it is that is waiting (if anyone) will be notified. In Java, we then use objects as synchronization, mutex, and communication points between threads. We synchronize on an object to get mutex access to an important code block and to synchronize memory. We wait on an object if we are waiting for some condition to change - some resource to become available. We notify on an object if we want to awaken sleeping threads. // locks should be final objects so the object instance we are synchronizing on, // never changes private final Object lock = new Object(); ... // ensure that the thread has a mutex lock on some key code synchronized (lock) { ... // i need to wait for other threads to finish with some resource // this releases the lock and waits on the associated monitor lock.wait(); ... // i need to signal another thread that some state has changed and they can // awake and continue to run lock.notify(); } There can be any number of lock objects in your program - each locking a particular resource or code segment. You might have 100 lock objects and only 4 threads. As the threads run the various parts of the program, they get exclusive access to one of the lock objects. Again, they don't have to know the running status of the other threads. This allows you to scale up or down the number of threads running in your software as much as you want. You find that the 4 threads is blocking too much on outside resources, then you can increase the number. Pushing your battered server too hard then reduce the number of running threads. The lock objects ensure mutex and communication between the threads independent of how many threads are running.
Solution for the first question String string = "abcdabceabcfabch"; String str = "abc"; String remString = string.replaceAll("abc",""); System.out.println((string.length()-remString.length())/str.length());
I think destination is chennai and departure is delhi bro?
The DMP program's commitment to inclusive innovation ensures that diverse voices are heard in the innovation process. Can you make a video discussing inclusive innovation?
🤠👍
import java.util.Arrays; public class Test { public static void main(String[] args) { //String str="abcdfabcgeabchjk"; //String str="fdfdabcppssabcaauabc"; String str="agagaabcabcakaa"; String find="abc"; int length=find.length(); char[] a=str.toCharArray(); String tmp=""; int count=0; int j=0; for(int i=0;i<a.length;i++) { j=i+1; tmp=tmp+String.valueOf(a[i]); while(j<i+length) { if(j==a.length && tmp.length()<length ) { i=i+tmp.length(); break; } tmp=tmp+String.valueOf(a[j]); if(j==i+length-1) { if(tmp.equals(find)) { count++; i=i+length-1; //j++; tmp=""; break; } else { if(tmp.length()==find.length()) { tmp=""; break; } } } else { j++; } } j=0; } System.out.println(count); } }
Hllo I saw a coding challenge on Unstop, flipkart runway pls make a video on that
equal operator is what i see in 6) question but you are giving reference equal method.
public class Test { public static void main(String[] args) { double d1=1.00000000001; double d2=1.00000000001; System.out.println(d1==d2); } } I have tried comparing doubles it was working fine without any issue , can you please share more input about that :) thank you so much for hte detailed video
but we know the size of linkedlist in java we can directly do it that way -> since interview is based on java -> can't we ask them why we are not using the already created datastrucutre
Thank you.
I dont understand @17:15 ...r interviewers here to test our memory? I mean I worked on just 3 design patterns...why the hell I memorize each 10 of them like college student? Even if im excited...and I dont know ..I can learn them within hours and start implementing I dont get the point of asking such college viva type questions in big organisations... These questions r type if u know...then good...if not, sorry we wont be offering u
Hey bhaiya! Mere notice board pe ek poster tha jismein likha tha ki Jio Creative Labs available hain. Kya aap mujhe bata sakte hain ki ismein apply karne ka process kya hai? Aapki guidance ki zarurat hai!
Can you do more videos? Quite nice.🎉
How many years of experience you have ?
ey techathon me submission kiya hai 15 ko aakhri din hai aurf kya better kr skte hai???
Maine ey techthon me apply kiya abhi tk 30,000 application hai koi tips share krdijiye please kaise clear kre 🙏
Can you share some details about EY Techathon ? Are they hiring ? Can 1st year students apply ?
For the 1st question we can do it by java8 stream long count = java.util.regex.Pattern.compile(substr).splitAsStream(str).count();
Sir, accidentally I can here looking for morgan Stanley interview. Having 3 yrs in java I have MS interview java round 1 on Wednesday. Please guide me what topic should I revise and what to focus on please ...
Hi Sir, My humble request to you please upload more videos as you promised for 15 video and we can see 7 video.. I have already subscribed your channel and looking for more video to help us..
Great job
Hi how can I can connect with you on linked in..?
www.linkedin.com/in/urcoolcode
For how many year of experience this interview is???
9 years
public static void main(String[] args){ int[] arr={17,5,13,8,16,1,2}; int p2=arr.length-1; int max=arr[p2]; System.out.println(max); p2--; while(p2>=0){ if(arr[p2]>max){ max=arr[p2]; System.out.println(arr[p2]); } p2--; } }---- for 3rd
String s="abcdabceabcg"; String subString="abc"; int window=subString.length(); int p1=0; int p2=window; int i=0; int count=0; while(i<s.length()-window){ System.out.println(s.substring(i,p2)); if(s.substring(i,p2).equals(subString)){ count++; } i++; p2++; } System.out.println(count);-------------------------------------Is this fine for 1st question
does it cover al questions they asked?
How much was the base package offered and experience
36 lpa and 8+ yoe
Bhaiya aap Pankaj bhaiya ho kya..mene haal me hi interview diya tha Morgan Stanley me..aapka awaZ same to same wesa hi lag rha hai.
Nahi yr koi or hoga wo
I want to participate in FedEx challenge , could u please make video on that
please provide solutions.
Hi kalpana pls mail me I will forward you solution of the problem u need mail id of channel in description
1. public int getCount(String mainStr,String subStr){ int count=0; StringBuilder sb=new StringBuilder(mainStr); while (sb.indexOf(subStr)!=-1){ sb=sb.delete(sb.indexOf(subStr),(sb.indexOf(subStr)+subStr.length())); //sb=sb.replace(sb.indexOf(subStr),(sb.indexOf(subStr)+subStr.length()),"@SHA@"); count++; } return count; }
Is java safe for future?i started career in java this year..plz clarify
Definately Java is safe it's not going anywhere there are some other needs for which people are using other languages but Java is here to stay
@@coolcode7857 Thanks for replying.. doubt cleared 🤝
For how many years of experience these questions were asking
Pls see video description
Bro 11:00 hashmap has higher performance than ConcurrentHashMap as there will be no thread check(no block).
Sir I need your guidance. I just have started my career as as java developer in one of MNC . What roadmap should I follow so that I can be strong enough in ds algo to switch with good package
Soon m gonna make a roadmap video which I followed and switched to top product based company in London
int[] myArray = {17,5,13,8,16,1,2}; int max = myArray.length-2; for(int i=0;i<myArray.length;i++){ if(max<myArray[i]){ max = myArray[i]; } } System.out.println(max); Brother You said this approach May be this is wrong . Because in the question he asked all the elements greater to other it's right . Am I right ?
Yes we need to output all elements which are greater then everything to its right
@@coolcode7857 If possible just tell me example output
Please share Your LinkedIn profile link ?
String str = "abcdabcefdabcdifkabc"; int count =0; while (str.contains("abc")) { str = str.replaceFirst("abc",""); count++; } System.out.println(count);
One suggestion:: for upcoming videos please check your mic, because your voice is low in all previous vides
just one round and offered a role??
There were 2 rounds I clubed all imp questions in one vid
what is the base in 32LPA??
All fixed no variable component , bonus is there which is not part of CTC
Can you please make a video how to get more interview calls..
Make a very good profile on linkedIn