Answered step by step
Verified Expert Solution
Question
1 Approved Answer
What should I write for this? Help me to how to solve this problem. 2.12 Lab 1 - Variables and Printing Lab Instructions 299548.1800616 LAB
What should I write for this?
Help me to how to solve this problem.
2.12 Lab 1 - Variables and Printing Lab Instructions 299548.1800616 LAB ACTIVITY 2.12. 1: Lab 1 - Variables and Printing 0/5 Variables.java Load default template... * Variables lab for CS 1. * 1 2 3 4 5 6 * In this first lab, you will get familiar with a program's structure, and work with String variables and print statements * * @author YOUR_NAME 8 * @version 202010 9 10 11 12 // STEP one: label class 13 public class Variables 14 15 // STEP two: label the main method this is where program execution starts 16 public static void main(String args[]){ 17 18 Develop mode Submit mode When done developing your program, press the Submit for grading button below. This will submit your program for auto-grading. Load derauit template... 11 12 // STEP one: label class 13 public class Variables 14 14 15 // STEP two: label the main method - this is where program execution starts 16 10 public static void main(String args[]) { 17 17 18 // STEP three: declare a name variable here 10 19 19 20 20 // STEP four: print out the expression "The founder of Java is " without a new line 21 21 22 // STEP five: print out the founder of Java's name variable with a new line 23 24 // STEP six: declare an integer variable initialized with the year that java was founded 25 // Then, print out "Java was founded in " and your variable, followed by a new line. 26 } 27 } Develop mode Submit mode Run your program as often as you'd like, before submitting for grading, Below, type any needed input values in the first box, then click Run program and observe the program's output in the second box Enter program input (optional) The founder of Java is James Gosling Java was founded in 1995 Run program Input (from above) Variables.java (Your program) Output (shown below) Program output displayed hereStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started