write a class called coin
the coin class should have the following fields
a string named sideup and held either heads or tails indicating the side of the coin that is facing up
the coin class should have the following methods
a no arg constructor that determines the side of the coin randomly
a void method named toss that simulates the tossing of the coin
a method called getsideup that returns the method of side up field
i don't know and i am a beginner so want help please :'(