I want a basic SpaceCarDealer application design in Java eclipse alias.
$10-30 USD
ที่ทำเสร็จแล้ว
โพสต์ ประมาณ 4 ปีที่ผ่านมา
$10-30 USD
ชำระเงินเมื่อส่งงาน
design and create a SpaceCarDealer application. A sample run should look like the one in the attachments.
implement missing components from this SpaceCarDealer:
import [login to view URL];
public class SpaceCarDealer {
public static void main(String[] args) {
String input;
int response = 0;
double newPrice;
Car selectedCar;
CarDealer delandCarDealer = new CarDealer("DeLand", 20);
String[] option = {"Exit", "Sell", "Buy", "UpdatePrice"};
do {
response = [login to view URL](null,
[login to view URL](),
"DeLand Car Dealer",
0,
JOptionPane.INFORMATION_MESSAGE,
null,
option,
option[2]);
switch(response) {
case 0:
break;
case 1:
selectedCar = (Car) [login to view URL](null,
"Select: ",
"Pick Car to Sell: ",
JOptionPane.QUESTION_MESSAGE,
null,
[login to view URL](),
[login to view URL]()[0]
);
[login to view URL](selectedCar);
break;
case 2:
input = [login to view URL](null, "Make and Model: ");
newPrice = [login to view URL]([login to view URL]("Purchase Price: "));
//sale price with 20 percent profit: newPrice*1.2
[login to view URL](new Car(input, newPrice, newPrice*1.2 ));
break;
case 3:
selectedCar = (Car) [login to view URL](null,
"Select: ",
"Update the sale price",
JOptionPane.QUESTION_MESSAGE,
null,
[login to view URL](),
[login to view URL]()[0]
);
newPrice = [login to view URL]([login to view URL]("Purchase Price: "));
[login to view URL](selectedCar, newPrice);
break;
}
}while(response != 0);
}
}
import [login to view URL];
public class CarDealer {
private String dealerName;
private Car[] carsOnLot;
public CarDealer(String dealerName, int num) {
[login to view URL] = dealerName;
[login to view URL] = new Car[num];
}
@Override
public String toString() {
return "CarDealer [dealerName=" + dealerName + ", carsOnLot=" + [login to view URL](carsOnLot) + "]";
}
}
public class Car {
private String makeAndModel;
private double purchasePrice;
private double salePrice;
public Car() {
[login to view URL] = null;
[login to view URL] = 0;
[login to view URL] = 0;
}
@Override
public String toString() {
return [login to view URL]("%20s $%12.2f", makeAndModel, salePrice);
}
}
Hello,
warm greetings!
I am a Java developer working on Java technology since 7+ years having hands on windows and web development experience. I would like to help in your application development.
It would be better if you can share more details about it if you are interested. Please message me to discuss more about the requirements.
looking for your positive response.
Thanks
Namit
Hi sir
I am interested to work with you.
I can provide you professional web design services.
I can design for you according to your requirements. I will give you unlimited revision until you will not satisfy for your design.I will deliver you this according to your time frame after your award.
I can assure you several things.
* I have expertise in Twitter Bootstrap, Angularjs, HTML5/CSS3, Php, java se,j2ee....
* I have a great web development sense.
* Well organized and clean code easy to understand.
* Validate according to w3c standards.
* I can start it immediately.
* Compatible with all modern browsers and mobile devices.
Looking forward to hearing from you soon.
Thank
I read through the job details extremely carefully and I am absolutely sure that I can do the project very well and I think all your requirement meets with my skill and expertise level with skills including Java and Javascript.
Let me introduce myself, I am a freelancer and director of a web design company with more than 10 years of experience and I guarantee complete customer satisfaction.
Let's discuss more about your project in the chat box,
Thanks,
Anurag Saxena