In this channel, we try to solve various java coding interview questions.
Our main goal is to share Java, Spring Boot, and Microservices knowledge with the audience.
We will continue to help our audience to prepare and crack the programming language interview.
Website:
www.cloudtechsolutions.in/
Goal is to reach 50k subscriber.
Please subscribe. 🙂
For Sponsorship & Business Enquiries: [email protected]
As an Amazon Associate I earn from qualifying purchases.
Пікірлер
rise exception
1
Can we use stream to solve second highest? List<Integer>numbers=Arrays.asList(10,5,20,15,25); int secondHighest=numbers.stream().sorted(Collectors.reverseOrder()).limit(2).skip(1).get()
why did not you use filter first for age then map instead of if condition
Very Simple and Clear
Sliding window easy
Bro microservices should be more specified interviewers will not be happy by this answers
a shortcut! Thanks is great for practice!✍️
Its look like Fresher interview Questions of Java And Spring Boot.
Thanks man, this helped a lot
4
Sort both strings and check whether both are equal
Bro hie plz reply
set.add(ele) -> returns false for the repeated ele. if(!set.add(ele)) { syso("first repeated element" +ele)}
13lpa with any variable?
Awesome Video explains very well about singleton please do more videos on String interview questions as well
Option B
How can Fetch 2nd highest paid from each Department
Will do the video for this 👍
They asked about services & he explained whole flow of microservice architecture then put 1-2 services name quitely & quickly . That was clever i think.
Q.2 ABCD == CDAB ? public static void main(String[] args) { String str1 = "ABCDEF"; String str2 = "EFCDAB"; String str1New = str1+str1;//AACC AACC + ABCD ABCD int count = 0; for(int i=0,j=0;i<str1New.length();i++) { if(str1New.charAt(i) == str2.charAt(j)) { j++; if(str2.length()==j) { count++; System.out.println("Yes::"+count); break; } } } if(count==0) { System.out.println("NO::"+count); } } Note:: Without using any predefined method.
Q 5) Output: Compilation Error: Required type boolean but provided int
after your technical interview, when you got confirmation that you have cleared the technical interview. Did your HR round happend next ?
Any update
whats meaning 18 LPA?
Please do for 7yers experience in java
Please do for 7 yers experience
Excellent tutorial on Spring Boot CRUD operations! The explanations were clear and the Postman examples made it easy to follow along. Great job!
is it real interview, why you are talking like you you ... I will surely reject
No handson coding?
Are there 2 rounds of interview for experience java developers rcently?
Yes
The difficulty level is not for 3 years experienced candidate
what do you mean bro, is that easy or difficult according to you?
@@user-vf7cb5ni4tit is not easy but not too difficult if someone has a good understanding of concepts they will easily give the answer and confidence matters ... Here the interviewee had confidence even he gave one incorrect answer i.e. StringBuffer is not thread safe.... But in actual StringBuffer is synchronised and thread safe but StringBuilder not
Dog and animal example , confidently he is answering wrong
How to prepare and from where to prepare for the spring boot interview. I also have the same experience and I want to switch now
Is it a real interview??
I was thinking the same
StringBuilder is not thread safe, StringBuffer is thread safe
well explained, thanks a lot !
Thanks Cloud Tech I launched my first web service
We have logger also for monitoring the application
Here is the simplest way public class StringQuestion { public static void main(String[] args) { String str="Capgemini Coding Interview Questions Capgemini Coding Interview Questions"; String upper=str.substring(str.length()/2,str.length()).toUpperCase(); String lower=str.substring(0,str.length()/2).toLowerCase(); System.out.println("The final output is "+lower +" " +upper); } }
Is this code from gfg ??
Is this final round of interview? Or L1, L2,L3
It's Mock
@@Is_it_true118 OMG
may i know y the count of 10 is again printing as 2 so we neeed to set the value to -1 if the number is going to repeat again
will company hire candidate of 3 years experienced developer with more than 3 months of notice period?
b
FEATURES OF JAVA 8 WHAT IS ARE STREAMS IN JAVA WHAT ARE SEQUENTIAL AND PARALLEL SEQUENTAILS WHAT ARE INTERMIATE AND TERMINAL OPERATIONS WHAT IS USE OF LAMDBA EXCEPTIONS IN JAVA HOW DO YOU HANDLE EXCEPTIONS IN JAVA WHAT IS TRY WITH REACH WHAT ARE SOLID PRINCIPLES IN JAVA --- SPRINGBOOT INSERT DATA IN DATABASE STEPS --- HOW DO YOU COMMUNICATE MICROSERVICES HOW DO YOU HANDLE TIMEOUT S WHAT IS HORIZONTAL AND VERTICAL SCALING HOW DO YOU DEPLOY MICROSERVICES HOW MICROSERVICES SECURED DIFFERENCE BETWEEN AUTHENTICATION AND AUTHORISATION IN JAVA LIST NUMBER HIGHEST list.stream().max((i,j)-> i. compareTo(j)).get());
I really like this
JAVA ABSTRACTION IN JAVA HOW DO YOU ACHIEVE IN JAVA WHAT IS A INTERFACE IN JAVA FEATURES OF JAVA 8 RELATED TO INTERFACE INHERITANCE IN JAVA WHAT ARE DIFFERENT TYPES OF INHERITANCE IN JAVA WHAT IS STRING IN JAVA HOW DO YOU CREATE STRING WHAT IS IMMUTABLE CLASS DO YOU HAVE USED COLLECTIONS IN JAVA CAN YOU TELL THE DIFFERENCE BETWEEN ARRAYLIST AND LINKEDLIST INTERNAL WORKING OF HASHMAP MULTI THREADING IN JAVA HOW THREAD GOES TO WAITING STAGE WHEN TO USE COMPARABLE OR COMPARATOR DO YOU KNOW MARKER INTERFACE DO YOU KNOW SERIALIZATION --- HOW DO YOU MONITOR SPRINGBOOT APPLICATION HOW DO YOU CHECK LOGS OF YOUR APPLICATIONS DO YOU KNOW VERTICAL AND HORIZONTAL SCALING WHEN SHOULD WE USE .PROPERTIES AND .YAML --- MICROSERVICES API GATEWAY HOW SERVICES ARE COMMUNICATING WITH EACH OTHER DO YOU KNOW WHAT IS HYTRIX HOW DO YOU ACHIEVE LOOSE COUPLING
CORE JAVA ENCAPSULATION IN JAVA WHAT IS ABSTRACT CLASS IN JAVA DO YOU KNOW INHERITANCE IN JAVA TYPES OF INHERITANCE IN JAVA WHY MULTIPLE INHERITANCE IS NOT ALLLOWED IN JAVA METASPACE IN JAVA 8 LIFE CYCLE OF THREAD HOW DO HANDLE EXCEPTIONS IN JAVA IS MULTIPLE CATCH BLOCKS ALLOWED TRY ALLOWED WITHOUT CATCH? SPRING BUFFER AND SPRING BUILDER DIFFERENCE STRING CLASS IN JAVA HOW TO CREATE IMMUTABLE CLASS IN JAVA SERIALIZATION IN JAVA HOW TO MAKE A VARIABLE NOT SERIALISED. WHAT IS TRANSIENT HOW TO CHECK IF STRING IS PALINDROME OR NOT? WHAT IS SPRING CAN YOU EXPLAIN THE LIFE CYCLE OF THE BEAN HOW TO HANDLE TRANSACTIONS IN JAVA ---- SPRINGBOOT HOW TO CREATE SPRINGBOOT APPLICATION WHAT ARE STARTER DEPENDENCIES IN SPRINGBOOT IN JAVA HOW TO CHANGE THE TOMCAT SERVER PORT -- SQL PRIMARY KEY
SPRINGBOOT WHAT ARE THE ADVANTAGES OF SPRINGBOOT OVER SPRING WHAT IS DEPENDENCY INJECTION HOW IT MANAGES BEAN LIFE CYCLE WHAT ARE COMMON ANNOTATIONS YOU USED IN SPRINGBOOT HOW DO YOU HANDLE EXCEPTIONS WHAT IS GLOBAL EXCEPTIONAL HANDLER WHAT ARE DIFFERENT HTTP STATUS CODES HOW DO YOU MANAGE TRANSACTION WHAT IS TRANSACTIONS --- MICROSERVICES WHAT IS MICROSERVICES COMPONENTS IN MICROSERVICES COMMUNICATION BETWEEN MICROSERVICES MESSAGE BROKERS ASYNCHRONOUS AND SYNCHRONOUS COMMUNICATION FLOW OF SERVICE DISCOVERY HOW DO YOU HANDLE FAULT TOLERANCE SQL AND NOSQL DATABASE DIFFERENCE HOW DO YOU MANAGE CHANGES IN DATABASE SCHEME UNIQUE CONSTRAINT IN DB --- JAVA WHAT ARE STREAMS IN JAVA WHAT DO YOU MEAN BY INTERMEDIATE AND TERMINAL OPERATORS IN JAVA WHICH CLOUD DO YOU TO DEPLOY
WHAT IS GARBAGE COLLECTION IN JAVA WHAT DO YOU MEAN BY DYNAMIC BINDING WHAT IS STRING IN JAVA WHAT IS THE STRING BUILDER AND STRING BUFFER DIFFERENT WAYS OF CREATING THREADS IN JAVA WHAT ARE DIFFERENT THREAD STAGES COLLECTIONS WHAT IS HASHMAP WHAT IS BUCKETING IN HASHMAP DIFFERENCE BETWEEN HASHMAP AND CONCURRENTHASHMAP -- HOW DO YOU CONNECT TO YOUR DATABASE TRANSACTIONS ARE PERFORMS IN DAO OR SERVICE LAYER HOW DO YOU MONITOR SPRINGBOOT APPLICATION SPRING BOOT ADMIN SERVER HOW TO DEPLOY SPRINGBOOT APPLICATION -- MICROSERVICES WHY MICROSERVICES WHAT ARE DIFFERENT MODULE IN MICROSERVICES API GATEWAY DISCOVERY SERVERS WHY DO WE USE INDEX IN DATABASE WHAT IS NORMALISATION WHAT IS FOREIGN KEY IN DATABASE WHAT IS PRIMARY KEY
METHOD OVER LOADING METHOD OVERRIDING WHAT IS AN INTERFACE WHAT IS ABSTRACT CLASS DIFFERENCE BETWEEN INTERFACE AND ABSTRACT CLASS EXCEPTIONS IN JAVA FINALLY BLOCK IN TRY BLOCK COLLECTIONS IN JAVA DIFFERENCE IS HASHMAP AND HASHTABLE DIFFERENCE BETWEEN ARRAYLIST AND LINKEDLIST DIFFERENCE BETWEEN == .EQUALS IMMUTABLE IN JAVA HOW TO CREATE IMMUTABLE CLASS --- SPRINGBOOT WHAT IS DEPENDENCY INJECTION AND INVERSION OF CONTROL DIFFERENCE BETWEEN SPRING AND SPRINGBOOT DEFAULT PORT HOW TO DEPLOY APPLICATION IN OTHER THAT TOMCAT WHAT ARE PROFILES WHAT ARE MAIN COMPONENT OF MICROSERVICES WHAT IS DISCOVERY SERVER HOW SERVICES COMMUNICATE WITH EACH OTHER HOW DO YOU HANDLE FAULT TOLERANCE HOW DO YOU MONITOR MICROSERVICES WHAT IS THE USE OF ACTUATOR