Capgemini Interview | Angular, Java coding, Spring Boot, Microservice Question Answers
HTML-код
- Опубликовано: 18 окт 2024
- In this video, we solved Java Coding Interview Question which was asked in Capgemini Interview. The candidate had 3.8 Years of Experience working as a Java Full stack Developer, He solved the problems using Java Programming and got selected with CTC of 16.5 LPA. Apart from this coding problems he answered almost all the questions related to Angular, spring boot and microservices.
For Complete Java Interview Preparation Watch this Playlist:
• 🔥Java Interviews🔥
#leetcode
#java8
#interview
#javaprogramming
#javacoding
#javainterviewquestions
#CapgeminiInterviewQuestions
#SpringBootInterviewQuestions
#MicroserviceQuestions
#AngularInterviewQuestions
output of question no 8:
option 3 bcoz of start with adding and end with concatination
print the duplicate value without using a nested loop
Input: 1,5,2,1,3,9,5,8,3
Output: 1,5,1,3,5,3
Sir i am having 9 years of experience as a full stack developer. Stuck with preparation for interview
Please increase your volume while recording ,your voice could be little higher than it is due which some times not audible
Yes.I will try to increase volume.
public class Adding {
public static void main(String[] args) {
String str = 1 + 2 + "one" + 1 + 2 + "two";
System.out.println(str);}}
output will be : 3one12two
Why the 1 and 2 is not added but it is concatinated ?? pls explain
@@wondersofmovies Because if string starts with integers it starts adding and once it encounters with character it starts concatenating till end . No matter after char if int comes or not it just continue to concatenate.
@@sandeeppal4362 thanks 😇
use range to display number list from say 1 to 100. your "if" is a loop
It's condition
Sir,I have 2 years experience in above video technologys but i cant get any call , can you tell whats the issue ?
The answer is 3ONE12TWO
3
Sir is it true that in service based company we get a 1 month KT even if we switch as an experienced guy? Means if someone who has 2 years experience in a company but it is not in java but he cleared the interviews so can he match the speed of actual work in those first few months in a new company?
Yes, u will get project KT.
number 1 to 100 is using the if loop. This s a basic code that you can do with for loop or while if you are using if condition and incrementing. Cant you do it in Java 8? You can google for the answer else if anyone is interested post your email id and I will respond