Изменил(а) на 'MyFirstUniverse/src/com/company/cosmicbody/Planet.java'
This commit is contained in:
parent
54ff357686
commit
631c240ea3
@ -94,10 +94,10 @@ public class Planet extends CosmicBody {
|
||||
this.gravitation = gravitation;
|
||||
}
|
||||
|
||||
// public Planet() {
|
||||
// this.name = "Zem";
|
||||
// this.weight = 5972200;
|
||||
// this.diameter = 12756;
|
||||
// }
|
||||
public Planet() {
|
||||
this.name = "Earth";
|
||||
this.weight = 5972200;
|
||||
this.diameter = 12756;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user