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
How many static initializers can you have ? As many as you want, but the static initializers and class variable initializers are implemented in textual order and may not refer

Explain the term- Strings A string is generally considered to be a sequence of characters stored in memory and accessible as a unit. Strings in java are signified as objects

tag shows all the errors. iterates over ActionErrors request attribute.

1. Go to www.bytesizebook.com 2. Follow the first link: Guide to Web Development with Java 3. Click on Examples tab 4. Go down to Chapter 4 to find all jar folders, packages, class

Explain the equals() method The equals() method of java.lang.Object acts the similar as the == operator; that is, it tests for object identity rather than object equality. The

J2EE (Java 2 Enterprise Edition) is an environment for deploying and developing enterprise applications on various operating system. The J2EE platform consists of J2EE components,

Project Description: Our project consists of a plain application, both for iPad/iOS (Newsstand app) and Android 4.x which will download PDF magazines from the internet, after ha


You should override the hashCode() and equals() functions from the Object class. The default implementation of the hashcode() and equals(), which are inherited from the java.

can we develop paint user can draw his charcters and images in swing