Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Item Goal Description Getting a practical experience in Declare and initialize local variables of primitive data types. Write a console program prints on console each

image text in transcribed

Item Goal Description Getting a practical experience in Declare and initialize local variables of primitive data types. Write a console program prints on console each of the primitive data types (byte,short,int,long, float, double char, boolean). Task Preparation No special preparation Execution Remind that student should apply his or her knowledge of: methodology how to declare and initialize local variables of primitive data Execute following steps: Student should create a new blank Java Project in IDE. Student should create his or her own Java class and provide all necessary code in a method main() Student should declare and initialize each of primitive data types. Student should use one System.out.println(...) statement for each line of outputs. Ask student to execute the program Evaluation the program must work correctly; Closure Issues discussion, on demand Task 2 Item Goal Description Getting a practical experience in Using arithmetic operators. Write a console program that prints result of each of arithmetic operations (+,-./.*,%) for two variables of primitive data types. Task Preparation Execution methodology No special preparation Remind that student should apply his or her knowledge of: how to using arithmetic operators Execute following steps: Student should create a new blank Java Project in IDE. Student should create his or her own Java class and provide all necessary code in a method main() Student should declare and initialize two integer variables of primitive data types. Student should apply each of arithmetic operations and print result to console Student should use one System.out.println(...) statement for each line of outputs. Ask student to execute the program the program must work correctly; Issues discussion, on demand Evaluation Closure

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

AutoCAD Database Connectivity

Authors: Scott McFarlane

1st Edition

0766816400, 978-0766816404

More Books

Students also viewed these Databases questions

Question

7. Identify four antecedents that influence intercultural contact.

Answered: 1 week ago

Question

5. Describe the relationship between history and identity.

Answered: 1 week ago