Define a class CARRENTAL with the following details : Class Members are : CarId of int type, CarType of string type and Rent of float type. Define GetCar() method which…
Java ProgramsPrograms
Define a class CARRENTAL with the following details : Class Members are : CarId of int type, CarType of string type and Rent of float type. Define GetCar() method which…