Hide Assignment Information
InstructionsLab:
Write a program that does the following:
– Create an Object Constructor that allows the user to create a new Planet object.
It should contain properties for the things that a planet can have, like its name, it size (circumference), distance from the sun, how many moons, is it has water, if it has oxygen, if it has life, and what ever else you think it should have.
2. Add a method that allows you to ask if the planet has life that returns a boolean value.
3. Go back to lesson 8, look at how to create an array of objects, then, add to the program a galaxy array that can store all of your planets as you make them.
Note: There is no SMALL GROUP assignment this week.
All work is due by Sunday at 11:59 p.m.
LDR 3302-21.01.01-1A24-S1, Organizational Theory and Behavior Unit III Essay Top of Form Bottom of Form…
Chapter 9 What are teratogens? Give 5 examples. Define each of these stages: Germinal, embryonic,…
You are a Financial Analyst that has been appointed to lead a team in the…
You are familiar with the ANA Code of Ethics and have a growing understanding of…
This week’s discussion will focus on management decision-making and control in two companies, American corporation…
Mary Rowlandson felt that the man who eventually came to own her, Quinnapin, was “the…