Coding Round Java Developer Interview Exp - 2.+ years in tcs life

Sdílet
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

Komentáře • 85

  • @dandantin
    @dandantin Před rokem +7

    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.

  • @susheelgupta357
    @susheelgupta357 Před rokem +1

    👍👍ek number

  • @shaikh.quadeer
    @shaikh.quadeer Před rokem +3

    yes java is awesome 😍

  • @ayushgarg7954
    @ayushgarg7954 Před rokem +1

    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 :)

  • @amankeshri3823
    @amankeshri3823 Před rokem +2

    Was this interview a single round ? Or more rounds were there ?

  • @manishkumar-tb2cz
    @manishkumar-tb2cz Před rokem +3

    Change int to string in constructor

  • @movvamanish1467
    @movvamanish1467 Před rokem +7

    tcs wont give 13 lpa for 2 years bro max would be 8 lpa thats it

  • @desi_fifa
    @desi_fifa Před rokem +2

    it was better to use map or set for this.

  • @pandurangpatil6360
    @pandurangpatil6360 Před rokem +1

    Wow nice sir

  • @musicmasti1938
    @musicmasti1938 Před rokem

    Bhai 1st question acha tha

  • @technicalstudyajay8037
    @technicalstudyajay8037 Před rokem +1

    like

  • @vikasviru2189
    @vikasviru2189 Před rokem

    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.

  • @amanmishra2437
    @amanmishra2437 Před rokem

    bhai ye tcs kabse 13 lpa dena 2 yoe ke liye 2 yoe then can max do is 8 lpa

  • @satyprakash4316
    @satyprakash4316 Před rokem +2

    You like interview

  • @sauravkumarjha6162
    @sauravkumarjha6162 Před rokem +3

    improve code quality

  • @_rahulkumarofficial
    @_rahulkumarofficial Před rokem +3

    4 bad add kyu likh rahe ho bhai. Creating so much complexity. Plus what is int string that should be string id.

    • @xolothegermanshepherddog7873
      @xolothegermanshepherddog7873 Před rokem

      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

  • @arnabsengupta8092
    @arnabsengupta8092 Před rokem +8

    I am talking to ???😂

  • @22chetandhangar79
    @22chetandhangar79 Před rokem +2

    Sir for string reverse can we use predefined method ?

    • @Java.is.Awesome
      @Java.is.Awesome  Před rokem +1

      In Interview He will ask you to write your on login not predefined method

    • @22chetandhangar79
      @22chetandhangar79 Před rokem +1

      @@Java.is.Awesome means own logic kya?

  • @gaama2203
    @gaama2203 Před rokem +3

    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()));
    });

  • @sanjanaghosh051
    @sanjanaghosh051 Před rokem +4

    My question is why you wrote the first ans in Java when you could have written a SQL query for the same ?

    • @Java.is.Awesome
      @Java.is.Awesome  Před rokem +1

      Yes but she given object list that why we need to write in java.

    • @ig_haxie
      @ig_haxie Před rokem

      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).

    • @ig_haxie
      @ig_haxie Před rokem

      You can reverse a string using
      String revStr = new StringBuilder(originalString).reversed().toString();

    • @Prem-sy8mt
      @Prem-sy8mt Před rokem

      @@ig_haxie they will say not to use predefined methods.

  • @huoyuhao2664
    @huoyuhao2664 Před rokem +2

    Really, this easy? Why people learn DSA then?

  • @tejeshvlogs1848
    @tejeshvlogs1848 Před rokem +4

    PLEASE ANYBODY EXPLAIN IS IT REAL TIME INERVIEW OR SCRIPTED VIDEO?

  • @d_starcode1197
    @d_starcode1197 Před rokem +1

    Bhai .net walo ko bhi mil skta ha 13lpa 2yr experience pe

    • @Java.is.Awesome
      @Java.is.Awesome  Před rokem

      try kero may be

    • @d_starcode1197
      @d_starcode1197 Před rokem

      @@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)

    • @Java.is.Awesome
      @Java.is.Awesome  Před rokem +1

      @@d_starcode1197 continue in .net it's good

  • @noorahameds8
    @noorahameds8 Před rokem +46

    Lol TCS never offers 13lpa for 2y of experience.

    • @KA-4013
      @KA-4013 Před rokem

      Then how much

    • @torukmactogaming6645
      @torukmactogaming6645 Před rokem +1

      @@KA-4013 probably 6 to 8 LPA

    • @Mr_Cat_11
      @Mr_Cat_11 Před rokem

      You didn't get the offered that doesn't mean there is no offer like that

    • @noorahameds8
      @noorahameds8 Před rokem +4

      @@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.

    • @optimusprime-ly5hw
      @optimusprime-ly5hw Před rokem

      @@noorahameds8 brother which field in IT pays more salary?

  • @mrsaksgamming1861
    @mrsaksgamming1861 Před rokem +1

    Sir I'm B.A student can i learn Java?

    • @Java.is.Awesome
      @Java.is.Awesome  Před rokem

      Yes

    • @mrsaksgamming1861
      @mrsaksgamming1861 Před rokem +1

      But i don't HV knowledge about programming language..can i learn directly java ya firstly learn besic programming language like c cpp ?

    • @amit4310
      @amit4310 Před rokem

      @@mrsaksgamming1861 it will take very much time do it 2 3 time you will gate better and better

    • @tempaccount7842
      @tempaccount7842 Před rokem

      ​@@mrsaksgamming1861 not suitable bro job nahi milega criteria mai nahi beithte sir BE(IT,CS) ko jobs hai

    • @tempaccount7842
      @tempaccount7842 Před rokem

      ​@@mrsaksgamming1861 should go for non IT field like Data science,Digital Marketing, Graphics design etc

  • @sudipto58
    @sudipto58 Před rokem +3

    Wrong information 😂 TCS will never give u 13lpa for 2 years exp.

    • @Java.is.Awesome
      @Java.is.Awesome  Před rokem

      Why TCS will give 15 to 20 LPA but you have to ask or negotiate with him. thanks

    • @sudipto58
      @sudipto58 Před rokem +1

      @@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.

    • @sudipto58
      @sudipto58 Před rokem +1

      @@Java.is.Awesome and adding to it. I had 6 offer letter although they haven’t gave as they have upper limit.

    • @AJ-dd3ln
      @AJ-dd3ln Před rokem

      ​@@sudipto58 hi sir, what is the upper limit for 1.5 yrs experience in Infosys?

  • @rajkumarbarnwal5892
    @rajkumarbarnwal5892 Před rokem +1

    Bhai kitne yrs of experience ka interview hi

  • @lifeline8169
    @lifeline8169 Před rokem +3

    Interviewer 🤣🤣

  • @PankajKumar-jm3rg
    @PankajKumar-jm3rg Před 5 měsíci

    fake interview 🤣😂

  • @codewithtejaswi
    @codewithtejaswi Před rokem

    Fake ....ye question freshers kardega

    • @Java.is.Awesome
      @Java.is.Awesome  Před rokem +1

      It's Real Interview Question

    • @shoaibhaq8680
      @shoaibhaq8680 Před rokem

      Ghanta freshers kar dega... Freshers koi itna bhi applicable knowledge nahi hota dsa ka...

    • @codewithtejaswi
      @codewithtejaswi Před rokem

      ​@@shoaibhaq8680 isme kya DSA hai bhai kuchh bhi boldo
      Java 8 ka 2 method use kre hai 😅

  • @HanilKumarMuchu
    @HanilKumarMuchu Před 4 měsíci

    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);