TCS PRA Java Question | TCS IRA Java Question | TCS CPA Java Question

  Рет қаралды 24,072

Coding Host

Coding Host

Күн бұрын

TCS PRA Java Question | TCS IRA Java Question | TCS CPA Java Question
In this video, I will explain you how to write TCS PRA program in java. For any doubts, tell me in the comments.
Google drive link for code: -
docs.google.co...
If you are running this program in online compilers then change the class name to which the class name is already written on that compiler tab.
Other Playlists:-
Java Programs for Beginners
• Java Programs For Begi...
Programming Fundamentals And OOPS
• Programming Fundamenta...
Array (1D & 2D) Programs In Java
• Array (1D & 2D) Progra...
String Programs in Java
• String Programs In Java
Important Algorithms
• Important Algorithms
Software installations in windows
• Install intellij idea ...
TCS Placement Resources
• TCS Placement Resources
Infosys Placement Resources
• Infosys Placement Reso...
Accenture Placement Resources
• Accenture Placement Re...
Star and Number Patterns
• Star and Number Patterns
Other social links:-
KZbin :- / @codinghost5082
Instagram :- / 123codinghost
#java #javaprogramming #javatutorialforbeginners #javatutorial #javatutorialsforbeginners

Пікірлер: 33
@saich8595
@saich8595 Жыл бұрын
great explanation bro🥰🥰🥰🥰🤩🤩🤩🤩🤩🤗🤗🤗🤗🤗❤❤❤❤❤❤❤❤
@codinghost5082
@codinghost5082 Жыл бұрын
Thank you 😊
@saisrujana3244
@saisrujana3244 2 жыл бұрын
sir what java version should we use in pra java8 or java7?
@codinghost5082
@codinghost5082 2 жыл бұрын
You dont neeed to choose any java version. PRA is same as IRA exam almost. Just write programs in give compiler.
@saisrujana3244
@saisrujana3244 2 жыл бұрын
ok sir thank you
@bushraafrin5333
@bushraafrin5333 2 жыл бұрын
Everything i understand , but when you use static method and put condition within static method, i am not getting these conditions.
@codinghost5082
@codinghost5082 2 жыл бұрын
that if statement i have taken to check if the array and string we are taking are null or not. because later if u use for loop on them to get data, then u will get error NullPointerException,
@advaitdhamnaskar8614
@advaitdhamnaskar8614 Жыл бұрын
In TCS PRA what is the marks distribution?
@codinghost5082
@codinghost5082 Жыл бұрын
I m not sure. But I think coding part is of 50 marks and mcqs are of 50 marks. Total 100 marks.
@yuvalekhams6778
@yuvalekhams6778 2 жыл бұрын
can you provide solution for method for finding average of age and another method to search by name
@codinghost5082
@codinghost5082 2 жыл бұрын
Yes. Will comment code in night.
@codinghost5082
@codinghost5082 2 жыл бұрын
// Make getters for getting getAge() and getName() //Below are only methods to calculate. public static int findAverageOfAge(Students[] s){ int total=0; if(s!=null) { for(int i=0;i
@codinghost5082
@codinghost5082 2 жыл бұрын
@@yuvalekhams6778 I already told u most topics. Please check previous exam videos from youtube. And try to complete the coding questions properly.
@yuvalekhams6778
@yuvalekhams6778 2 жыл бұрын
@@codinghost5082 Thank you so much
@orBhaiKaisaHe
@orBhaiKaisaHe 2 жыл бұрын
@@yuvalekhams6778 bro have you cleared PRA?
@srilakshmidande6767
@srilakshmidande6767 2 жыл бұрын
What if there are two objects with name as scooter?? How to Store them ??
@codinghost5082
@codinghost5082 2 жыл бұрын
they will have different number and price. So store them in separate objects And you will get input for only 4 objects.
@041_saisaranta5
@041_saisaranta5 2 жыл бұрын
sir you're giving m=null to store only one object. what if there is two scooter , then you have to save two Vehicle objects in the m. Then why are you using this m=null??
@codinghost5082
@codinghost5082 2 жыл бұрын
From the object of array we need to find object with minimum price. So it itself mean we only need one object with whose price will be minimum. So we dont need more object. We only need one.
@user-nx8fh5qi6r
@user-nx8fh5qi6r 2 жыл бұрын
Solution.java:18: error: non-static variable this cannot be referenced from a static context vl[i]=new Vehicle (num, nam, pri);
@codinghost5082
@codinghost5082 2 жыл бұрын
Maybe you have made Vehicle constructor as a method. Check the code from link in description.
@gaminghubCR
@gaminghubCR 2 жыл бұрын
can you provide the solution on the day of exam on any social site like whatsapp or telegram this will us.
@codinghost5082
@codinghost5082 2 жыл бұрын
sorry I cant , I also have work .
@gaminghubCR
@gaminghubCR 2 жыл бұрын
Okk but I have one doubt in some questions you have used priority queue but in some questions you did not used can I know the answer because in video I am not able to understand why you are using that
@codinghost5082
@codinghost5082 2 жыл бұрын
@@gaminghubCR Plz watch that questions carefully. You need to return an object on the sorted order from some value.
@monaligore8606
@monaligore8606 2 жыл бұрын
Hello sir tomorrow is my 1st PRA. If my code will be ok but output isn't come according to the code or some error will occurs then also some test cases will pass or not for right coding steps??
@codinghost5082
@codinghost5082 2 жыл бұрын
You need to print exact same output. Even you change uppercase or lowercase or miss any symbol like comma or fullstop. You will get error and your cases will not pass. So be careful while printing output.
@monaligore8606
@monaligore8606 2 жыл бұрын
@@codinghost5082 ok thank you. But sir in every program in PRA have the same pattern or not like the one you are explaining in video? I guess Referring your videos of PRA is enough. But according to u it is enough or not??
@codinghost5082
@codinghost5082 2 жыл бұрын
@@monaligore8606 for java code m sure. It have same pattern.
@monaligore8606
@monaligore8606 2 жыл бұрын
@@codinghost5082 ok then I'll refer your videos only. Thank u so much for quick response n for videos as well .
@codinghost5082
@codinghost5082 2 жыл бұрын
@@monaligore8606 wlcm
He bought this so I can drive too🥹😭 #tiktok #elsarca
00:22
Elsa Arca
Рет қаралды 48 МЛН
Самое неинтересное видео
00:32
Miracle
Рет қаралды 2,3 МЛН