Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Mobile Communications

Authors: Jochen Schiller

2nd edition

978-0321123817, 321123816, 978-8131724262

More Books

Students also viewed these Programming questions