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..
Differentiation between an applet and an application, Differentiation betwe...
Differentiation between an Applet and an Application ?
Socket programming in Java: TCP, Objectives: socket programming in Java: TC...
Objectives: socket programming in Java: TCP Exercises: Goal: In this project we will develop a Web server in two steps. In the end, you will have built a multi-threaded Web ser
Mobile pop-under script for mobile browsers, Project Description: Give a...
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
Metho overloding, definition
Please help, Write a program to find the area under the curve y = f(x) betw...
Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points can b
data abstiraction, describe data abstractio
describe data abstraction
Convert string to super ascii, A string S is said to be "Super ASCII", if i...
A string S is said to be "Super ASCII", if it contains the character frequency equal to their ascii values. String will contain only lower case alphabets (''''a''''-''''z'''') and
Difference between pre-emptive scheduling and time slicing, Explain the dif...
Explain the difference between pre-emptive scheduling and time slicing ?
Explain the role of remote interface in rmi, The Remote interface serves to...
The Remote interface serves to recognize interfaces whose methods may be invoked from a non-local virtual machine. Any object that is a remote object must directly or indirectly ex
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
IT Courses and Help
Why Us ?
~24x7 hrs Support
~Quality of Work
~Time on Delivery
~Privacy of Work
Human Resource Management
Literature Review Writing Help
Follow Us |
T & C
Copyright by ExpertsMind IT Educational Pvt. Ltd.