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??
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.
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,
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
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??
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.
@@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??
please add question in description
great explanation bro🥰🥰🥰🥰🤩🤩🤩🤩🤩🤗🤗🤗🤗🤗❤❤❤❤❤❤❤❤
Thank you 😊
In TCS PRA what is the marks distribution?
I m not sure. But I think coding part is of 50 marks and mcqs are of 50 marks. Total 100 marks.
can you provide solution for method for finding average of age and another method to search by name
Yes. Will comment code in night.
// 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
@@yuvalekhams6778 I already told u most topics. Please check previous exam videos from youtube. And try to complete the coding questions properly.
@@codinghost5082 Thank you so much
@@yuvalekhams6778 bro have you cleared PRA?
sir what java version should we use in pra java8 or java7?
You dont neeed to choose any java version. PRA is same as IRA exam almost. Just write programs in give compiler.
ok sir thank you
What if there are two objects with name as scooter?? How to Store them ??
they will have different number and price. So store them in separate objects
And you will get input for only 4 objects.
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??
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.
Solution.java:18: error: non-static variable this cannot be referenced from a static context vl[i]=new Vehicle (num, nam, pri);
Maybe you have made Vehicle constructor as a method. Check the code from link in description.
Everything i understand , but when you use static method and put condition within static method, i am not getting these conditions.
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,
can you provide the solution on the day of exam on any social site like whatsapp or telegram this will us.
sorry I cant , I also have work .
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
@@gaminghubCR Plz watch that questions carefully. You need to return an object on the sorted order from some value.
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??
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.
@@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??
@@MonaliGore21 for java code m sure. It have same pattern.
@@codinghost5082 ok then I'll refer your videos only.
Thank u so much for quick response n for videos as well .
@@MonaliGore21 wlcm