Explore BrainMass

Java Declarations and Statements

1. Write a Java declaration for one real number quantity called rate, initialized to 5.0.

2. Write a single Java statement to declare two integer quantities called orderOne and orderTwo, each initialized to 0.

Solution Summary

This tutorial provides instructional advice on how to write Java declarations and statements.