Question: 1. After reading and viewing the Intro to Java PowerPoint Pt 2, answer the following questions: a. What is meant by case sensitive? Why is

1. After reading and viewing the Intro to Java PowerPoint Pt 2, answer the following questions: a. What is meant by "case sensitive"? Why is it important for a programmer to know that Java is a case-sensitive language? b. What does a variable declaration tell the Java compiler about a variable? c. Why are variable names like x not recommended? d. What things must be considered when deciding on a data type to use for a variable? e. What is the difference between comments that start with the // characters, and comments that start with the /" characters? 2. Write a Java program that includes the variable declaration statement(s) to declare the variable temp as type double, the variable age as type int, and the variable label as type String. Initialize each of the variables as follows: temp to 18.7, age to 22, and label to "Java Programming". Then include the output statements to display/print each of the values with descriptive labels. Name: Your Name Date: Assignment #: Lab Assignment #2 problem 2 public class VariableDeclarations
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
