Create a new class file called VariableTest and save it as a .java file. Create a main()

Question:

Create a new class file called VariableTest and save it as a .java file. Create a main() container inside the Variable Test class container. Let’s declare and initialize a variable called star and store the value "*": 

image text in transcribed

Using the variable star, create the output illustrated below. You can reassign new values to star as much as you want: 

image text in transcribed

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: