Customer Service Chat
Get quote & make Payment
Java , JAVA Programming
Create an object model for the Solar System using the following link:
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 :
Ask an Expert
Java , Assignment Help, Ask Question on Java , Get Answer, Expert's Help, Java Discussions
Write discussion on Java
Your posts are moderated
Write your message here..
What is spring, Spring is an open source framework created to address the d...
Spring is an open source framework created to address the difficulty of enterprise application development. One of the chief benefits of the Spring framework is its layered archite
Difference between while statement and a do while statement, What is the di...
What is the difference between a while statement and a do while statement? A while statement checks at the starting of a loop to see whether the next loop iteration should occu
I need social mobile application, Project Description: I'm using a php s...
Project Description: I'm using a php script called phpfox on my site its work as social network . So I need is to use this script as CMS for my application. What users wil
Applet, what are applets
what are applets
Legal responsibility of nurses, As registered nurses, we often wonder "am I...
As registered nurses, we often wonder "am I responsible for the L.P.N's and the C.N.A. assigned on my floor. Will I be blamed if someone makes an error or if someone gets hurt? N
Change to palindrome, A palindrome is a string that reads the same from bot...
A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome
How can we include images in a web page using html and java, How can we inc...
Explain instance variable, What will be the default values of all the eleme...
What will be the default values of all the elements of an array explained as an instance variable? If the array is an array of primitive types, then all the elements of the arr
Test phases and cycles? , 1. Unit tests :There are two popular processe...
1. Unit tests :There are two popular processes to testing server-side classes: mock objects, which test classes by checking the server container, and in-container testing, which
Accounting Assignment Help
Economics Assignment Help
Finance Assignment Help
Statistics Assignment Help
Physics Assignment Help
Chemistry Assignment Help
Math Assignment Help
Biology Assignment Help
English Assignment Help
Management Assignment Help
Engineering Assignment Help
Programming Assignment Help
Computer Science Assignment Help
Why Us ?
~24x7 hrs Support
~Quality of Work
~Time on Delivery
~Privacy of Work
Human Resource Management
Literature Review Writing Help
Terms & Conditions
Copyright by ExpertsMind IT Educational Pvt. Ltd.