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
What are the different types of messages available in the JMS API? Ans) Message, TextMessage, BytesMessage, StreamMessage, ObjectMessage, MapMessage are the dissimilar messages

You will be creating a World that consists of ants and doodlebugs. Each time you click the board each bug will do some of the following: move, bread, eat, and starve. Ants will

The RMI architecture is based on one significant principle: the definition of behavior and the execution of that behavior are separate concepts. RMI allows the code that describes

Need Professional Framework Coder with Video Coding Experience? Project Description: Professional Framework Coder with Video Coding experience. You must know API, Java, C++,

Explain The ?  operator in Java ? The value of a variable frequent depends on whether a particular boolean expression is or is not true and on nothing else. For example one ge

I want Hall Rental Website Project Description: I want to prepare website for my party venue where i will post the photos and detail of place along with availability calendar

In this assignment I would like to have java code that would have either JFrame or something similar with multiple buttons like "BaseCase", "CoalLosses", "Demand", "NoCT,nuclear",

Explain Testing for Equality with equals? That's not what you expected. To contrast strings or any other kind of object you required to use the equals(Object o) techniques from

If any of the above conditions does not met, then the program will generate compilation errors. Today Rahul has written his first program "Hello World", but he is not sure about th

cocos2d-x puzzle game for kids Project Description: I am seeking a skilled, reliable, and not very expensive cocos2d-x developer (with experience with iOS, Android, and prefe