TCS OPA Java Coding question hard??? | Watch this!!!

Поделиться
HTML-код
  • Опубликовано: 23 янв 2025

Комментарии • 115

  • @dheerajgupta9124
    @dheerajgupta9124 3 года назад +4

    Awesome explaination !! Keep uploading more java coding questions.
    It helped a lot!!
    Thanks to Coding Future team.

  • @janaganiswathi4718
    @janaganiswathi4718 3 года назад +1

    how can we generate getter setter constructor in hackerrank there is no such source is avaliable right

  • @PavanKalyan-ig2bp
    @PavanKalyan-ig2bp 3 года назад

    Thank u so much its really very understandable and learnt the executing . 🙏👍👏👏👏

  • @sustadasgupta2780
    @sustadasgupta2780 4 года назад +3

    Can you please make a video on the OPA MCQs topicwise? It'll help a lot, thank you.!

  • @ishan7975
    @ishan7975 3 года назад

    You are simply awesome fella!!

  • @CelebReactzz
    @CelebReactzz 4 года назад

    Please tell me where the OPA test is available? It is not available on xplore. Community page is not working

  • @aakankshagarg8423
    @aakankshagarg8423 4 года назад +2

    If we only write the getter setter and constructor functions but can't able to write the logic of functions. How much marks we can expect to write till getter setter only..

  • @papaydas6331
    @papaydas6331 4 года назад

    Please Tell me ! What do you need to built /create java eclipse spring project?

  • @deekshdeekshitha6744
    @deekshdeekshitha6744 3 года назад

    Thankyou so much for clear explination,
    Same question asked in TCS IRA with some changes .

    • @sandeepreddygunukula3638
      @sandeepreddygunukula3638 3 года назад +1

      Have u completed ira in tcs... How much difficulty it is...
      Could you plz share the type of questions wt they asked in unix coding and ui and unix mcqs... Plz it will be help to me... Tmrw i have ira exam

    • @deekshdeekshitha6744
      @deekshdeekshitha6744 3 года назад +1

      ​@@sandeepreddygunukula3638 Even I have the exam tomorrow ,I just saw IRA mock test in Ion-Hub. It's similar to this question

    • @sandeepreddygunukula3638
      @sandeepreddygunukula3638 3 года назад

      @@deekshdeekshitha6744 ohh kk thank you.. All the best... 👍👍👍

    • @deekshdeekshitha6744
      @deekshdeekshitha6744 3 года назад +1

      @@sandeepreddygunukula3638 Wish u the same

  • @srishty2.081
    @srishty2.081 3 года назад +1

    bhai yaar aaj dekhi yeh ... phle dekh li hoti to 40k milre hote :/// thanks

  • @dheerajmishra4946
    @dheerajmishra4946 3 года назад

    Good work bro

  • @sayalijadhav2466
    @sayalijadhav2466 4 года назад

    You r doing good job bro.
    Wish u success.

  • @rohanchandradas4971
    @rohanchandradas4971 3 года назад

    Thanks Brother it helped me a lot.

  • @venkateshnambi1576
    @venkateshnambi1576 3 года назад

    good explanation!!

  • @shine5521
    @shine5521 3 года назад

    I wanna ask one question if we do not use getter setter and use diff function name in my IRA assement will my marks be deducted

  • @Prarthana33
    @Prarthana33 3 года назад

    Thank you for your guidance

  • @josejayant3127
    @josejayant3127 3 года назад

    You have also not the methods who's names begin with "set...".why?

  • @shaikhassan720
    @shaikhassan720 3 года назад

    Sir one doubt, out of the two methods to solve if we solve any one method will they provide marks?

  • @kisseskrishna5526
    @kisseskrishna5526 4 года назад +1

    I have a doubt in program can you solve it and send it
    1:-Write a java program to convert the content of a given file into the lowercase content of the same file.
    2:-Write a java Program to read from the ‘text’ file using File Reader and find the prints the Fibonacci series named as file2.
    3:-Write a java program to Count the number of lines, words, characters and paragraphs in a text file
    4:-Write a java program to Copy file using file streams and delete the file.
    5:-Write a java program to check the given file is hidden or not.

  • @roshansingh3135
    @roshansingh3135 4 года назад

    In second method(Method whose return type is Player), inspite of returning of value ,if it had more than one value then how to return and catch in main and print all the values respectively?
    Please help

    • @holiday2147
      @holiday2147 3 года назад

      create a object and store that in that new object

  • @jatinsvideos249
    @jatinsvideos249 4 года назад +1

    What happen if we write without getter setter is it fine

    • @ldoeindia
      @ldoeindia  4 года назад

      They are saying that write getters and setters.for hackerrank it will not give ypu error if your output match with theirs

  • @TheCasualGamer06
    @TheCasualGamer06 4 года назад

    One dought, how do you know the end user is sending only 4 objects

  • @shivaniade4046
    @shivaniade4046 4 года назад +2

    Why u deleted all the videos?

    • @ldoeindia
      @ldoeindia  4 года назад +1

      One tcs employee told me not to make videos with tcs name or logo thats why.it will be risky for me

    • @shivaniade4046
      @shivaniade4046 4 года назад

      Ok but can u pls upload those videos again?? With different names ???

    • @ldoeindia
      @ldoeindia  4 года назад +3

      I will try.lets see

    • @PrabhatKumar-hy9gg
      @PrabhatKumar-hy9gg 4 года назад

      Upload it with differ names

    • @shivaniade4046
      @shivaniade4046 4 года назад

      @@ldoeindia thanks

  • @shilpakumari8995
    @shilpakumari8995 4 года назад

    Is there any shortcut to write getter setters in the HackerRank platform?

    • @ldoeindia
      @ldoeindia  4 года назад

      No you have to write in eclipse then paste that

    • @shilpakumari8995
      @shilpakumari8995 4 года назад

      @@ldoeindiaWhere is option to use the IDE while using HackerRank platform?

    • @ldoeindia
      @ldoeindia  4 года назад

      @@shilpakumari8995 minimize hackerrank platform

    • @shilpakumari8995
      @shilpakumari8995 4 года назад

      @@ldoeindia Thanks

  • @aggarapusiri1969
    @aggarapusiri1969 2 года назад

    Can you write the logic in python

  • @silpasacharya5699
    @silpasacharya5699 4 года назад

    Could u plz upld the video on 14 August opa. If u upld tpc wise will be much hlpfl .

  • @ajeeshmohan9535
    @ajeeshmohan9535 4 года назад

    Bro can we generate getters and setters as in eclipse on opa??

    • @ldoeindia
      @ldoeindia  4 года назад

      Yeah.only in the ion centre this option was forbidden.but now you can.I always do like this

    • @anantjain1263
      @anantjain1263 4 года назад

      Bro can u show the path to this like opening your ion than login than where to find this assessment till there?

    • @ldoeindia
      @ldoeindia  4 года назад

      Go to tcs ion page.then click on course (left side) then search java online proctored exam

    • @PayalSharma-kd6fh
      @PayalSharma-kd6fh 4 года назад

      @@ldoeindia but how can we switch the windows while doing coding

    • @ldoeindia
      @ldoeindia  4 года назад

      Just minimize the hackerrank window

  • @foodandtravelvlog16
    @foodandtravelvlog16 4 года назад

    bro it is returning only id of last player . suppose two players id matches with skill and level then it is returning id of only last player

    • @prudhvi9440
      @prudhvi9440 4 года назад

      In the note it is mentioned that the no two players would have same skill and level.Which means in input it is not allowed to give two players with same skill and level.Manually if you try to give two players with same skill and level it always returns last player whose level and skills are matched.

  • @madhus444
    @madhus444 3 года назад

    Tried the same code but facing error in line " player [i]= new Player (id,skill, level, points) ;; The error is ;- no enclosing instance of type solutions is accessible
    Can you please help me for solving this error ?

  • @smitadas6712
    @smitadas6712 4 года назад

    👏👏👍

  • @Ramakrishna-ic1vj
    @Ramakrishna-ic1vj 4 года назад +1

    Bro I'm a non-it student, so to learn java which book is best
    1. Head first java Or
    2. Java a beginners guide

  • @SP97926
    @SP97926 4 года назад +1

    How access with this exam..where we get coaching for this exam

    • @ldoeindia
      @ldoeindia  4 года назад

      This is only for tcs future employees.

    • @SP97926
      @SP97926 4 года назад

      I am also selected candidate..

    • @ldoeindia
      @ldoeindia  4 года назад

      You have to learn on your own

    • @prasanjitdash439
      @prasanjitdash439 4 года назад

      @@SP97926 u have to login with ur userid and password to tcs ion terminal and there u will find the DASHBOARD go to community for all kind of updates and instruction details and a particular tab will open in the name of any OPA👍👍

  • @prudhvi9440
    @prudhvi9440 4 года назад

    No need of writing break statement.Because in Test inputs no two players would have same skill and level as mentioned in the Note.

  • @sweety3587
    @sweety3587 4 года назад +2

    Post a similar video on how to solve unix opa program easily......

  • @anantjain1263
    @anantjain1263 4 года назад

    Bro can u show the path to this like opening your ion than login than where to find this assessment till there?
    Ps I am tcser but I am unable to reach to it

  • @zainul_abdin_007
    @zainul_abdin_007 4 года назад +1

    Will I get joining letter if we don't qualify OPAs, please reply??

  • @sayalijadhav2466
    @sayalijadhav2466 4 года назад

    Anyone able to access the exam page today ?

  • @sayantika_sengupta
    @sayantika_sengupta 4 года назад

    please upload ur previous videos somehow... need them the most

    • @ldoeindia
      @ldoeindia  4 года назад

      All videos are public

  • @anuparnabhattacharya548
    @anuparnabhattacharya548 4 года назад +1

    All your previous videos are deleted??! I can't find any

    • @ldoeindia
      @ldoeindia  4 года назад +2

      I made them private bcz one rcs employee told me to not make videos with tcs name.dont know what to do

    • @vyshnaviaddagulla7806
      @vyshnaviaddagulla7806 4 года назад

      @@ldoeindia please provide them.they are very helpful to us

    • @iEntertainmentFunShorts
      @iEntertainmentFunShorts 4 года назад

      You can make videos without telling there name that should be good,because telling there name may be violations of the company policies.

  • @shyamshankarv7842
    @shyamshankarv7842 4 года назад +1

    Bro will there be another python opa or is this the last opa

  • @gowthameswar7871
    @gowthameswar7871 4 года назад

    last time in java opa i encountered an error like this."• Exception in thread "main" java.util.InputMismatchException
    • at java.util.Scanner.throwFor(Scanner.java:909)
    • at java.util.Scanner.next(Scanner.java:1530)
    • at java.util.Scanner.nextInt(Scanner.java:2160)
    • at java.util.Scanner.nextInt(Scanner.java:2119)
    • at Solution.main(Solution.java:19)
    "
    i had gone through the code a no. of times but couldnt rectify the error.please help me on this.i

    • @ldoeindia
      @ldoeindia  4 года назад

      In hackerrank editor you have to tell that go to nextline.for that you have to write sc.nextInt();sc.nextLine().i have discussed that in my video

    • @anantjain1263
      @anantjain1263 4 года назад

      Bro can u show the path to this like opening your ion than login than where to find this assessment till there?

    • @memesv3.093
      @memesv3.093 4 года назад

      This type of error occurs when u give wrong input to a variable, e.g. u gave "next()" to an int datatype

    • @weirdos321
      @weirdos321 4 года назад

      Bro I am getting the same error even i used sc.nextLine() please tell me bro to fix it.

    • @memesv3.093
      @memesv3.093 4 года назад

      @@weirdos321 As @Coding Future suggested,Try putting sc.nextLine() after every sc.nextInt()

  • @souvikkundu7108
    @souvikkundu7108 4 года назад

    How to access eclipse in hacker rank platform?

    • @ldoeindia
      @ldoeindia  4 года назад

      Minimize the window and use yours.no inbuilt eclipse is there

    • @souvikkundu7108
      @souvikkundu7108 4 года назад

      Hacker Rank will allow in the opa to minimize window ?

    • @ldoeindia
      @ldoeindia  4 года назад

      Yes

  • @shravankorthiwada6361
    @shravankorthiwada6361 4 года назад

    bro where are the previous videos

    • @ldoeindia
      @ldoeindia  4 года назад +2

      I have made them private

  • @praneethganupalli6349
    @praneethganupalli6349 4 года назад

    Will there be any plaigarism for tomorrow exam

  • @kainatkainat5405
    @kainatkainat5405 4 года назад

    How can we check our OPA score??

    • @ldoeindia
      @ldoeindia  4 года назад

      It will be send to your email on next Thursday inthink

  • @aditimulay8636
    @aditimulay8636 3 года назад

    getSongsInAscendingOrder method:
    This method will take two input parameters-array of Song objects and string parameter.
    The method will return the Song object array in an ascending order of their duration,from the array of song objects
    whose artist attribute matches with the input string parameter.
    If no Song with the given artist is present in the array of song objects, then the method should return null.
    How to write this method plz help

  • @saranyakm4529
    @saranyakm4529 4 года назад +1

    Sir.. Not able to score above 55%.. Please help me... Can you please do a video for solving python and unix programs..
    Sir.. Will there be similar exams during the month of July and August.

    • @ldoeindia
      @ldoeindia  4 года назад

      I don't think so.bcz there will be ipa

    • @saranyakm4529
      @saranyakm4529 4 года назад +1

      @@ldoeindia what is ipa..

    • @saranyakm4529
      @saranyakm4529 4 года назад

      @@ldoeindia sir..when is next python opa on 12th or 13th..

    • @ldoeindia
      @ldoeindia  4 года назад +1

      @@saranyakm4529 sorry 12

    • @ldoeindia
      @ldoeindia  4 года назад

      Ion proctored assessment

  • @Bachelorette-tales
    @Bachelorette-tales 4 года назад

    Please make the video on submitting of opa long answer questions in zip file

  • @sweety3587
    @sweety3587 4 года назад

    If we get one test case pass in Java opa ,will we get some marks?????

    • @ldoeindia
      @ldoeindia  4 года назад +1

      Yes10 marks for each test case i think

    • @zainul_abdin_007
      @zainul_abdin_007 4 года назад

      @@ldoeindia nhi milta h ek bhi marks..

  • @maheshYadav-cu9rj
    @maheshYadav-cu9rj 4 года назад

    Start a live in new channel, it will help us

  • @danielgnanaraj6242
    @danielgnanaraj6242 4 года назад

    I am not getting certificate for all completed courses in tcs xplore...whether it generates certificate like carrer Edge course or we have only reports for the xplore course

  • @JAHNAVITBBTCS
    @JAHNAVITBBTCS 2 года назад

    Kindly help to solve the below question:-
    Create a class fruits with below attributes:-
    fruitid - int
    fruitname - string
    price - int (per kg)
    rating - int
    The above attributes should be private with getters and setter’s method and constructors as required
    Create class MyClass with methods:-
    Find maximum price byrating
    Implement one static method - will take 2 input parameters - array of Fruit objects and int parameter
    The method will return the maximum priced fruit object from the array of fruits objects whichever has rating greater than the given rating (int parameter passed). If no fruit with the above condition is present in the array of fruits object, then the method will return null
    Note: - No 2 fruits will have the same price.
    All the searches should be case insensitive.
    The above mentioned static method should be called from the main method.
    For find maximum price by rating methods the main methods should print the fruitid from returned object of the if the returned value is not null else should print “No such fruit”
    Ex: - 333
    Where 333 is a fruitid which has the maximum price
    Before calling these static methods in main, use scanner object to read values of 4 fruits objects referring attributes in the above mentioned attribute sequence. Next read the value of int parameters for capturing rating value
    Input1:-
    001
    Apple
    50
    Output1:- 4
    Input2:-
    002
    Mango
    100
    Output2:- 5
    Input3:-
    003
    Orange
    40
    Output3:- 4
    Input4:-
    004
    Grapes
    80
    Output4:- 5

  • @SP97926
    @SP97926 4 года назад +1

    Pls reply me

  • @praneethganupalli6349
    @praneethganupalli6349 4 года назад

    😅😅 bro please live stream tomorrow exam

    • @ldoeindia
      @ldoeindia  4 года назад

      Lol.tcs is very strict about this.i can't break the policy