Computer Science, asked by saniiika2001, 5 months ago

Write a program to print the area of a rectangle by creating a
class named 'Area' having two methods. First method named as
'setDim' takes length and breadth of rectangle as parameters and the
second method named as 'getArea' returns the area of the rectangle.
Length and breadth of rectangle are entered through keyboard.

Answers

Answered by anugrahsingh08
3

Answer:

Our solar system formed about 4.5 billion years ago from a dense cloud of interstellar gas and dust. The cloud collapsed, possibly due to the shockwave of a nearby exploding star, called a supernova. When this dust cloud collapsed, it formed a solar nebula—a spinning, swirling disk of material

Answered by s10655
0

Please mark as brainliest

Answer:

Our solar system formed about 4.5 billion years ago from a dense cloud of interstellar gas and dust. The cloud collapsed, possibly due to the shockwave of a nearby exploding star, called a supernova. When this dust cloud collapsed, it formed a solar nebula—a spinning, swirling disk of material

Explanation:

Please mark as brainliest

Similar questions