出租车计划 [英] Taxi program

查看:53
本文介绍了出租车计划的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,

我是Java的初学者,需要你的帮助才能完成这项任务。

我已经开始了A部分,但我不确定如何继续学习B部分,因为我们没有被教过,我也不知道。


提交时间是2007年2月2日星期五。


我等待你的回复


Rgds

Gonzzy


A部分

1 )使用给定的属性集(板号,品牌名称,价格和速度)为类车辆编写Java代码。

2)使用上述属性为子类Taxi创建Java编码。 />
3)包含出租车的对象实例


PART B

1)编写Java代码以创建出租车数组和出租车实例对象。包括以下规格:


a)该程序可以显示平均出租车价格

b)该程序可以在阵列中存储新的出租车

c)该程序可以搜索特定的出租车信息

d)除A部分和B部分所述之外的任何两个特征/属性


解释可能有助于更好的理解是非常受欢迎的。

Dear All,
I am a beginner in Java and would need your assistance with this assignment.
I have started PART A but I am not sure about how to proceed with PART B as we''ve not been taught and I dont know it either.

Submission is on Friday 2nd February 2007.

I await your responses

Rgds
Gonzzy

PART A
1) Write Java codes for a class vehicle with the given set of attributes (plate number,brand name, price and speed).
2) Create Java coded for a subclass Taxi with the attributes above.
3) Include objects instances for Taxis

PART B
1) Write Java codes to create an array of Taxi and instances of Taxi objects. Include the following specifications:

a) The program can display the average taxi price
b) The program can store new Taxis inside the array
c) The program can search for particular Taxi information
d) Any two features/attributes other than those stated in part A and B

Explaination that could aid better understanding is highly welcomed.

推荐答案

一旦你实施了类Taxi并测试了它就可以创建它们的数组
once you haave implemented class Taxi and tested it you can create an array of them so
展开 | 选择 | Wrap | 行号


谢谢Horace!

对不起,我忘了告诉我能在这里进入A部分的程度是

Thanks Horace!
Sorry I forgot to state the extent I was able to go in PART A here it is

展开 | 选择 | Wrap | 行号



谢谢Horace!

对不起,我忘了陈述我能够在这里进入A部分的程度

Thanks Horace!
Sorry I forgot to state the extent I was able to go in PART A here it is

展开 | 选择 | Wrap | 行号


这篇关于出租车计划的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆