Java , JAVA Programming

Assignment Help:
Create an object model for the Solar System using the following link:
https://airandspace.si.edu/etp/ss/index.htm
Provide
an abstract class called Planet and a concrete subclass called MilkyWayPlanet with default constructors (no-arg) and a full-arg, overloaded constructors (sets all data). Provide accessors and mutators for mass, diameter, escape velocity, revolution period and mean surface temperature (instance fields). If no value is provided from the data, then set that characteristic to some default value of your choice. Provide a toString() method to format the planet data.
Provide an interface called Relatable with two methods:
? boolean isMassSmaller(Object other );
? boolean isDiameterGreater(Object other); Implement this interface in the Planet class. Why? Provide a driver class that includes the following features:
? creates an instance of each MilkyWayPlanet class
? collects all planet objects into an array of Planets called solarSystem
? displays all planet data using its toString() method using polymorphism
? displays the comparison of the mass of any two planets of your choice
? displays the comparison of the diameter of any two planets of your choice
Provide a portable test script that executes the application and writes all display data to a file called mp1out.txt in a portable file system location (i.e. project top-level)
Comment your code and provide a detailed README (PDF only) file that includes:
• project description/abstract
• installation, compile and run-time requirements
• insights and expected results
• screen captures demonstrating all application capabilities
• generate project Javadocs API and move from the dist folder to a docs folder

Related Discussions:- Java

Alreadyboundexception thrown and by which method, When is AlreadyBoundExcep...

When is AlreadyBoundException thrown and by which method? Ans) AlreadyBoundException is thrown by bind(String name) method when a remote object is already registered with the re

How to execute class with a main() method in a package, Example:  You have...

Example:  You have a class named "Set" in a project folder "e:\myProject" and package named com.zxy.client, will you be able to compile and execute it as it is

Sum of six digits, How do I write a java program that enters a six digit nu...

How do I write a java program that enters a six digit number and takes the sum of the six digits?

Use of weblogic platform in project, Use of WebLogic Platform in Project: ...

Use of WebLogic Platform in Project: Technologies Tools: Weblogic 8.1, Solaris 9, MQ Series 6.0, iplanet 6.1, Mercury Test Director. Project Overview: Wellington Manag

What is heuristic, What is heuristic? Heuristic is a procedure which co...

What is heuristic? Heuristic is a procedure which commonly, but not always, works or that provides nearly the right answer.

Explain about class in java, In Java everything exists within a class. It d...

In Java everything exists within a class. It describes the behavior of the class and its characteristics. Java applications and applets are built in the class. Rules present for cl

String, in java string is a

in java string is a

Linked list, i want code for to print prime numbers in the linked list queu...

i want code for to print prime numbers in the linked list queue and stack and array in java programming

We require responsible and serious programmer, We require responsible and s...

We require responsible and serious programmer Project Description: Big Data and On-line tools Website Liferay - JAVA - Portlets - JSP and JSF Skills required: J2EE,

What is resuscitation trolley explain their features, What is Resuscitation...

What is Resuscitation Trolley explain their features? A proper resuscitation kit is mandatory for the ICU. In addition to trolleys that can be moved around the ICU there should

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd