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. Lets
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 "*":
![public class VariableTest { } public static void main(String[] args) { String](https://dsd5zvtm8ll6.cloudfront.net/images/question_images/1706/1/8/9/01765b260d9152811706189015500.jpg)
Using the variable star, create the output illustrated below. You can reassign new values to star as much as you want:

public class VariableTest { } public static void main(String[] args) { String star = "*"; }
Step by Step Solution
3.45 Rating (161 Votes )
There are 3 Steps involved in it
publicclassVariableTest publicstati... View full answer
Get step-by-step solutions from verified subject matter experts
