Coding Round Java Developer Interview Exp - 2.+ years in tcs life
Vložit
- čas přidán 22. 12. 2022
- Java Developer Coding Question and Answer live in an interview of TCS company second round
TCS Java Developer coding round
How to give tcs interview question and answer as a java Developer
We are going to give her high-quality education totally free of cost. so, please learn a grow. I have to place to teach java everyone
Important Contact Link :
Linkedin : / prince-kumar-9776b0157
Instagram: / princekumar4364
GitHub : github.com/Erprincekumarojha
Note - This is demo or mock Interview video for Company's
This video is educational. I humbly request to you please don't give the wrong comment.
#javadeveloper #interview
Hi guys, Thanks for sharing this interview, I would like to ask some things, in the first question do you write two solutions, right? Wich was used "stream" and "for". In the second question, you did reverse String in any String, should it not reverse on the names from Employes? I would be glad if you answered my doubts.
we can do
try with stream, it's nice
@@Java.is.Awesome ok, thank you for answer.
👍👍ek number
yes java is awesome 😍
Bhaiya end mei humesha questions puchne chahiye mere khayal se ye waali practice mt do ki no questions ask them questions everyone you are highlighted through that Sometimes :)
Was this interview a single round ? Or more rounds were there ?
Change int to string in constructor
tcs wont give 13 lpa for 2 years bro max would be 8 lpa thats it
True.
it was better to use map or set for this.
Wow nice sir
Bhai 1st question acha tha
like
Helo bro nako doubt nenu not side 4 years work chesa business development executive ga bit nenu python full stack developer ga course chesthuna tcs ki apply cheyacha nenu.
yes you can apply, you got approx 15 to 20 LPA
bhai ye tcs kabse 13 lpa dena 2 yoe ke liye 2 yoe then can max do is 8 lpa
You like interview
improve code quality
4 bad add kyu likh rahe ho bhai. Creating so much complexity. Plus what is int string that should be string id.
Wahi nh...simple list.of() me sab dal dena chaiye tha...aur second reverse k liye stringbuilder user krke reverse s reverse () kr deta loop k jarurt hi nhi pdti
I am talking to ???😂
Sir for string reverse can we use predefined method ?
In Interview He will ask you to write your on login not predefined method
@@Java.is.Awesome means own logic kya?
this answer is partially right as you have printed all the names and their counting , it clearly says to print only duplicate names and counting , so the modified answer will be like below
list.stream().map(x->x.getName()).collect(Collectors.groupingBy(Function.identity(),Collectors.counting())).
entrySet().stream().filter(x->x.getValue()>1)
.forEach(e->
{
System.out.println(e.getKey());
System.out.println((e.getValue()));
});
good
My question is why you wrote the first ans in Java when you could have written a SQL query for the same ?
Yes but she given object list that why we need to write in java.
Why would you write a sql query in a Java interview, groupingby is same as group by in sql. We can group identical data into groups using Map Collection -> Map(Key,Value).
You can reverse a string using
String revStr = new StringBuilder(originalString).reversed().toString();
@@ig_haxie they will say not to use predefined methods.
Really, this easy? Why people learn DSA then?
In a product based company requires dsa
PLEASE ANYBODY EXPLAIN IS IT REAL TIME INERVIEW OR SCRIPTED VIDEO?
Script
Definetly scripted look at the lady voice
Scripted yaar... What the lady saying she just read from somewhere
it seems like scripted one
Bhai .net walo ko bhi mil skta ha 13lpa 2yr experience pe
try kero may be
@@Java.is.Awesome i was thinking to switch to java...there are not much differences...whats your take on this ? Would you suggest to the switch.
I know .net core,mvc,angular,web api(i.e fullstack)
@@d_starcode1197 continue in .net it's good
Lol TCS never offers 13lpa for 2y of experience.
Then how much
@@KA-4013 probably 6 to 8 LPA
You didn't get the offered that doesn't mean there is no offer like that
@@Mr_Cat_11 I Have been offered twice for a Jave developer role at
2y - 7.2lpa and at 3.4y-7.5lpa
It was for system engineer designation and as far i know they pay max 8 lpa for system engineer.
If you can't give accurate info atleast don't give fake info.
@@noorahameds8 brother which field in IT pays more salary?
Sir I'm B.A student can i learn Java?
Yes
But i don't HV knowledge about programming language..can i learn directly java ya firstly learn besic programming language like c cpp ?
@@mrsaksgamming1861 it will take very much time do it 2 3 time you will gate better and better
@@mrsaksgamming1861 not suitable bro job nahi milega criteria mai nahi beithte sir BE(IT,CS) ko jobs hai
@@mrsaksgamming1861 should go for non IT field like Data science,Digital Marketing, Graphics design etc
Wrong information 😂 TCS will never give u 13lpa for 2 years exp.
Why TCS will give 15 to 20 LPA but you have to ask or negotiate with him. thanks
@@Java.is.Awesome if you ask they will not give offer. Asking and getting offer are not same. You are talking to a man who switched 4 company in 5 years. Don’t show false information, TCS has a policy exp wise max salary limit. You don’t know n you are showing false information.
@@Java.is.Awesome and adding to it. I had 6 offer letter although they haven’t gave as they have upper limit.
@@sudipto58 hi sir, what is the upper limit for 1.5 yrs experience in Infosys?
Bhai kitne yrs of experience ka interview hi
It's clearly visible in thumbnail and title..
Don't be absent minded sir
2 + years
Interviewer 🤣🤣
fake interview 🤣😂
aaisa
Fake ....ye question freshers kardega
It's Real Interview Question
Ghanta freshers kar dega... Freshers koi itna bhi applicable knowledge nahi hota dsa ka...
@@shoaibhaq8680 isme kya DSA hai bhai kuchh bhi boldo
Java 8 ka 2 method use kre hai 😅
public class Practise {
public static void main(String[] args) {
Listemps=new ArrayList();
emps.add(new Employee(101, "hanil", 48963.0));
emps.add(new Employee(102, "happy", 78954.0));
emps.add(new Employee(103, "yogi", 145663.0));
emps.add(new Employee(104, "happy", 4520.0));
emps.add(new Employee(105, "hanil", 88963.0));
Map res= emps.stream()
.collect(Collectors.groupingBy(Employee::getEname,Collectors.counting()));
long c= res.entrySet()
.stream()
.filter(e->e.getValue()>1)
.count();
System.out.println(c);
thanks for sharing nice code