Computer Science, asked by kgb33, 4 months ago

Create a class TravelAgencies with below attributes:
regNo - int
agencyName - String
pakageType - String
price - int
flightFacility - boolean
The above attributes should be private, write getters,
setters and parameterized constructor as required.
Create class MyClass with main method.
Implement two static methods -
findAgencyWithHighestPackagePrice and
agencyDetailsForGivenldAndType in Solution class.
findAgencyWithHighestPackage Price method:
This method will take array of TravelAgencies objects
as an input parameter and return the highest
package price from the given array of objects.
agencyDetails ForGivenldAndType method:
This method will take three input parameters - array
of TravelAgencies objects, an int parameter and a
String parameter.
The method will return the TravelAgencies object
based on below conditions.
1. FlightFacility should be available.
2. If the given regNo (int paramter passed) and​

Answers

Answered by Anonymous
1

Answer:

Photosynthesis, the process by which green plants and certain other organisms transform light energy into chemical energy. During photosynthesis in green plants, light energy is captured and used to convert water, carbon dioxide, and minerals into oxygen and energy-rich organic compounds.

Similar questions