Java - проект ( В программе IntelliJ Idea )
9 USDDesign a Ship class that has the following members:
a. A field for the name of the ship (a string).
b. A field for the year that the ship was built (a string).
c. A constructor and appropriate accessors and mutators.
d. A toString method that displays the ship's name and the year it was built.
Design a CruiseShip class that extends the Ship class. The CruiseShip class should have the following members:
a. A field for the maximum number of passengers (an int).
b. A constructor and appropriate accessors and mutators.
c. A toString method that overrides the toString method in the base class. The CruiseShip class's toString method should display only the ship's name and the maximum
number of passengers.
Design a CargoShip class that extends the Ship class. The CargoShip class should have the following members:
a. A field for the cargo capacity in tonnage (an int).
b. A constructor and appropriate accessors and mutators.
c. A toString method that overrides the toString method in the base class. The CargoShip class's toString method should display only the ship's name and the ship's cargo capacity.
Demonstrate the classes in a program that has a Ship array. Assign various Ship, CruiseShip, and CargoShip objects to the array elements. The program should then step through the array, calling each object's toString method.
Собственно это все, что нужно сделать. Нужно в программе IntelliJ IDEA.
По поводу цены можем договориться)
Client's review of cooperation with Vitalii Valchuk
Java - проект ( В программе IntelliJ Idea )The person is interested in helping you, very adequate and friendly.
![]()
Freelancer's review of cooperation with client
Java - проект ( В программе IntelliJ Idea )It is easy to get in touch, I recommend it!!The !
-
104 26 0 Hello to you.
I can do as simple as possible tonight and if necessary explain what to do.
###################################################
#60 Symbols
###################################################
-
2052 226 0 1 Hi, I will write the program according to the requirements in IntelliJ IDEA.
Current freelance projects in the category Java
Development of a web platform for trading with integration of SBPro data, displaying clusters, liquidityDevelopment of a web platform for trading with integration of SBPro data, displaying clusters, liquidity, large limit orders (Clouds), HeatMap, and automatic indicator settings for different timeframes Stage 1. Connection to Transaq API Receiving real-time market data: •… Java, Web Programming ∙ 1 day back ∙ 40 proposals |
Customization of the loading screen and menu for Minecraft 1.12.2 (Tech Survival)
20 USD
Need to refine the ready client Minecraft 1.12.2 with mods and implement a custom interface design in the style of technical survival (Industrial / Tech Survival).What needs to be done1. Custom mod loading screen It is necessary to replace the standard Minecraft/Forge loading… Java, Gaming Apps ∙ 1 day 18 hours back ∙ 5 proposals |
Integration of dental scanner modules into CRM
601 USD
We have developed a CRM system for interaction with dentists and laboratories. It is necessary to integrate services like iTero, Sirona, Medit, and others so that files are pulled automatically. AI & Machine Learning, Java ∙ 1 day 19 hours back ∙ 27 proposals |
Development of simple 2D games (Snake, Galaxy, etc.) for Google Play MarketHello! I am looking for a developer (or a beginner with a good foundation) who can create several simple classic 2D games for the Android mobile platform with subsequent publication in the Play Market.To start, one or two games need to be developed. Examples of settings and… Java, Gaming Apps ∙ 3 days 23 hours back ∙ 18 proposals |
Application developmentI wish to create a mobile application for communication, the app should have audio and video calls, group chat creation, the ability to sync with phone contacts, account settings: email binding, 2FA, phone number, the ability to customize app notifications, change the app… Java, Python ∙ 8 days 17 hours back ∙ 40 proposals |