Question: 9 ) To declare a constant TAX _ RATE with value 0 . 9 8 inside a method, you write _ _ _ . A

9) To declare a constant TAX_RATE with value 0.98 inside a method, you write ___.
A) final long TAX_RATE =0.98; B) final double TAX_RATE =0.98;
C) double TAX_RATE =0.98; D) final TAX_RATE =0.98;
10) According to Java naming conventions, which of the following names could be a variable?
A) class B) TOTAL_LENGTH C) findArea D) Radius

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!