Bro your teaching style is good. Great work. Why did you stopped making videos??
@reactorboy85453 ай бұрын
Great explanation !!! Plzz solve more questions
@ragul_45813 ай бұрын
Super explanation thank you very much sir
@hamzachatraoui33156 ай бұрын
I have a probleme in my dashbord from bibliotheque dash didn't want to run in dag my task is going suscessfuly but the link didn't want to be run 😢😢
@040-pushpaangela69 ай бұрын
More questions pls
@africanpm Жыл бұрын
Worked for me, thanks
@georgewilson7423 Жыл бұрын
Simple and clean explanation and importantly it is in English. Thank you very much bro ❤️.
@TheDrNing Жыл бұрын
thanks for the demo. Now I can see the page via the my internal ip but it isn't accessible from internet. I have forwarded this internal ip from the router setting. How can I make the container accessible from internet?
@pinglol683 Жыл бұрын
i got fix but i still dont understand after command docker -p 8000:8000 container will show new image different name why can you explain thnak
@b16-harshdargude79 Жыл бұрын
Thanks brother 🙌🏻 very good and clear explanation
@letsbreakfailure38502 жыл бұрын
Thanks bro from your videos I have cleared ipa
@urveshkantharia76742 жыл бұрын
if we donot use getter and setter then it will effect the marks in cpa exam or we will get full marks
@letsbreakfailure38502 жыл бұрын
Can you send the link of the question bro
@salonisawant47542 жыл бұрын
Please give the python coding solution for TCS PRA exam
@kranjithkumar30602 жыл бұрын
I'm unable to resolve that issue ..like it's showing travelagencies cannot be converted to TravelAgencies[ ]
@godvintechnical14532 жыл бұрын
What is the exact error you are getting ?
@godvintechnical14532 жыл бұрын
You can find the code for above Question here : github.com/GodvinTechnical/Java-Solutions/blob/main/TravelAgencies.java Just change the file name as Solution.java and run it .
@godvintechnical14532 жыл бұрын
import java.util.Scanner; public class Solution{ public static void main(String[] args){ int regNo; String agencyName; String packageName; int price; boolean flightFacility; TravelAgencies[] travelAgencies = new TravelAgencies[4]; Scanner sc = new Scanner(System.in); for(int i=0;i<4;i++){ regNo = sc.nextInt(); sc.nextLine(); agencyName = sc.nextLine(); packageName = sc.nextLine(); price = sc.nextInt(); flightFacility = sc.nextBoolean(); travelAgencies[i] = new TravelAgencies(regNo , agencyName, packageName, price, flightFacility); } int regNo1 = sc.nextInt(); sc.nextLine(); String packageName1 = sc.nextLine(); int highestPackagePrice = findAgencyWithTheHighestPackagePrice(travelAgencies); System.out.println(highestPackagePrice); TravelAgencies travelAgencies1 = agencyDetailsForGivenIdAndType(travelAgencies,regNo1, packageName1 ); System.out.println(travelAgencies1.getAgencyName() +":"+ travelAgencies1.getPrice()); } public static int findAgencyWithTheHighestPackagePrice(TravelAgencies[] travelAgencies){ int highestPackagePrice = 0; for(int i=0;i<travelAgencies.length;i++){ if(travelAgencies[i].getPrice()>highestPackagePrice){ highestPackagePrice = travelAgencies[i].getPrice(); } } return highestPackagePrice; } public static TravelAgencies agencyDetailsForGivenIdAndType(TravelAgencies[] travelAgencies, int regNo, String packageType){ for(int i=0;i<travelAgencies.length;i++){ if(travelAgencies[i].getFlightFacilty()){ if(travelAgencies[i].getRegNo()==regNo && travelAgencies[i].getPackageType().equalsIgnoreCase(packageType)){ return travelAgencies[i]; } } } return null; } } class TravelAgencies{ private int regNo; private String agencyName; private String packageType; private int price; private boolean flightFacility; TravelAgencies(int regNo , String agencyName, String packageType, int price , boolean flightFacility){ this.regNo = regNo; this.agencyName = agencyName; this.packageType = packageType; this.price = price; this.flightFacility = flightFacility; } public int getRegNo(){ return this.regNo; } public String getAgencyName(){ return this.agencyName; } public String getPackageType(){ return this.packageType; } public int getPrice(){ return this.price; } public boolean getFlightFacilty(){ return this.flightFacility; } public void setRegNo(int regNo){ this.regNo = regNo; } public void setAgencyName(String agencyName){ this.agencyName = agencyName; } public void setPackageType(String packageType){ this.packageType = packageType; } public void setPrice(int price){ this.price = price; } public void setFlightFacility(boolean flightFacility){ this.flightFacility = flightFacility; } }
@kranjithkumar30602 жыл бұрын
@@godvintechnical1453 i want to clear some doubts regarding that ..could you provide your linkedin I'd
@kranjithkumar30602 жыл бұрын
@@godvintechnical1453 im trying another example..there i got issues..so I want to sort it out
@Anonymous_user432 жыл бұрын
Finally got a good content oriented channel.... Really thanks 👍 bro
@godvintechnical14532 жыл бұрын
I am Glad , it helped !😀
@castiel11152 жыл бұрын
Your voice is really soothing and good 😅
@godvintechnical14532 жыл бұрын
Thank you 😊
@Naveenkumar-lq3ik2 жыл бұрын
Superb content bro..keep rocking
@shubhamkumar-oy3wb2 жыл бұрын
keeping making videos little frequently.its actually helpful
@durgadevi53272 жыл бұрын
Very good sir 👍🏻
@godvintechnical14532 жыл бұрын
I am Glad it helped 😀
@durgadevi53272 жыл бұрын
Superb explanation, awesome
@r.shakithyaa16392 жыл бұрын
Useful bro. Keep going. Waiting for oops concept also from u. 👍
@rupallonare76492 жыл бұрын
very much helpful...thanksssssssssssssss
@godvintechnical14532 жыл бұрын
Glad ! you found it helpful😃
@r.shakithyaa16392 жыл бұрын
Bro plss upload part 2 and 3 soon. And solve the questions of python also. Your explanation is very neat and clear.
@godvintechnical14532 жыл бұрын
Thank you for your support . Part 2 will be uploaded soon . Do subscribe the channel to get the notification of the upcomming videos . Thank you 😃
@kammaragurudevaets36522 жыл бұрын
Please continue videos on java
@godvintechnical14532 жыл бұрын
sure 😃 i will .
@digitaltarun10x2 жыл бұрын
Plz new videos for Unix..thanks
@godvintechnical14532 жыл бұрын
New video on unix will be uploaded soon . Thank you .
@JAHNAVITBBTCS2 жыл бұрын
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
@godvintechnical14532 жыл бұрын
Could you please mail the screenshot of output to this mail id [email protected]
@godvintechnical14532 жыл бұрын
Input : 001 Apple 50 4 002 Mango 100 5 003 Orange 40 4 004 Grapes 80 5 This above is just the input . That is the array containing 4 objects (of the type fruits )
@godvintechnical14532 жыл бұрын
As given in the last 2 lines of the question : this line : - " 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 " the input should be in the formant : fruitid ( of fruit 1) fruitname ( of fruit 1) price ( of fruit 1) rating ( of fruit 1) fruitid ( of fruit 2) fruitname ( of fruit 2) price ( of fruit 2) rating ( of fruit 2) fruitid ( of fruit 3) fruitname ( of fruit 3) price ( of fruit 3) rating ( of fruit 3) fruitid ( of fruit 4) fruitname ( of fruit 4) price ( of fruit 4) rating ( of fruit 4) ratingValue (of type integer) and output should be in the format : fruitid ( which has the maximum price out of 4 fruits and has the rating above the ratingValue given as input in last line of the input)
@godvintechnical14532 жыл бұрын
This code should work : --------------------------------------- import java.util.Scanner; public class MyClass { public static void main(String args[]) { int fruitid; String fruitname; int price; int rating; Fruits[] fruits = new Fruits[4]; Scanner sc = new Scanner(System.in); for(int i=0;i<fruits.length;i++) { fruitid = sc.nextInt(); sc.nextLine(); fruitname = sc.nextLine(); price = sc.nextInt(); rating = sc.nextInt(); fruits[i] =new Fruits(fruitid, fruitname, price, rating); } int inputRating = sc.nextInt(); Fruits fruitWithMaximumPrice = findMaximumPriceByRating(fruits, inputRating); if(fruitWithMaximumPrice == null) { System.out.println("No such fruit"); }else { System.out.println(fruitWithMaximumPrice.getFruitid()); } } public static Fruits findMaximumPriceByRating(Fruits[] fruits , int rating) { int highestPrice = 0; Fruits fruitWithMaximumPrice = null; for(int i=0;i<fruits.length;i++) { if(fruits[i].getRating()>rating) { if(fruits[i].getPrice()>highestPrice) { highestPrice = fruits[i].getPrice(); fruitWithMaximumPrice = fruits[i]; } } } return fruitWithMaximumPrice; } } class Fruits{ private int fruitid; private String fruitname; private int price; private int rating; Fruits(int fruitid, String fruitname, int price, int rating) { this.fruitid = fruitid; this.fruitname = fruitname; this.price = price; this.rating = rating; } public int getFruitid() { return fruitid; } public void setFruitid(int fruitid) { this.fruitid = fruitid; } public String getFruitname() { return fruitname; } public void setFruitname(String fruitname) { this.fruitname = fruitname; } public int getPrice() { return price; } public void setPrice(int price) { this.price = price; } public int getRating() { return rating; } public void setRating(int rating) { this.rating = rating; } }
@godvintechnical14532 жыл бұрын
Soon i will create a video expalning the below code .
@ravitejabtech84012 жыл бұрын
You deserve the heart 💓
@godvintechnical14532 жыл бұрын
Thank you for you kind words . It means a lot .
@vishvavinayagam62032 жыл бұрын
Thank you sir I have understand clearly
@godvintechnical14532 жыл бұрын
You are most welcome 🤗
@adibabujagirap2 жыл бұрын
Excellent explanation sir👏👏👏
@godvintechnical14532 жыл бұрын
Thank you ! it means a lot.
@pvnvinayroy30932 жыл бұрын
Bro make TCS IRA coding questions also
@godvintechnical14532 жыл бұрын
Sure bro
@godvintechnical14532 жыл бұрын
If you want me to explain any particular coding question or concept , please drop the questions here.
@willtreuel55382 жыл бұрын
Keep up the good work! Let’s keep building the coding community!
@godvintechnical14532 жыл бұрын
Thanks! Will do!
@willtreuel55382 жыл бұрын
Keep up the good work! Let’s keep building the coding community!
@saiswaroop35702 жыл бұрын
Please make on pyhton
@godvintechnical14532 жыл бұрын
okay , i will upload python videos soon . Please do Subscribe to this channel to get the notifications .
@praveenrathod60462 жыл бұрын
Nice video sir!!
@godvintechnical14532 жыл бұрын
Glad you liked it 😀
@EEDIVYARANIR2 жыл бұрын
Sir ,I get inputs from user and apply getter and setter.the basic template of the code I'll created but the method I couldn't.like medicine [i]=new medicine(int no,String medicineName,String diseases, int price); These in for loop How to I find the user given disease is in my medicine array...and how to sort the price for the user given disease using static method Sir please I need concept.
@godvintechnical14532 жыл бұрын
Could you just paste the entire question here , so that i can give u the solution. i mean the medicine question as it was asked in cpa
@godvintechnical14532 жыл бұрын
Please watch this video for detailed explanation : kzbin.info/www/bejne/gaiQiWhrr8efg8k