Java , JAVA Programming

Create an object model for the Solar System using the following link:
http://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
Posted Date: 1/31/2013 8:09:45 AM | Location :







Related Discussions:- Java , Assignment Help, Ask Question on Java , Get Answer, Expert's Help, Java Discussions

Write discussion on Java
Your posts are moderated
Related Questions
Design and simulate the bilbo board which should include three configurable bilbos and some application logic to verify tester operation. the system will be designed using proteus

Project Description: Give a script that will produce a pop-under on a mobile landing page -We can host our own landing page and we will want to change the destination URL for

This project focuses on demonstrating the understanding of data types, input/output, sequential and selection programming statements, and mathematical operations. The project re

Instructions Modify the program so that the computer will generate moves for the ‘O' player (it must continue to accept user input for ‘X'). A simple way to do this is to use a

Java Program to Scrape, Data Mine Project Description: I need to data scrape/ mine data from a website and do some data processing. Skills required: Java, Data Mining,

Create a compressed file that contains the eclipse project directory and a short document that describes:   the methods implemented any missing or incomplete elements o

The class TurtleQTwo extends Turtle by adding one new method, plus, which is specified below. (All other features of TurtleQTwo are the same as for Turtle.) method plus(n in

How much CPU time does an applet get? One of the few legitimate concerns about hostile applets is excessive use of CPU time. It is possible on a non-preemptively multitasking s

Explain Labeled Loops in details ? Generally inside nested loops break and continue exit the innermost enclosing loop. For instance consider the subsequent loops. for (int i=1

Why do we call JavaScript an Object-based Language? In java language an JavaScript shares several similarities with object-oriented languages, and thus is known as an object-ba