I am looking for the answers to exercise 568 in objects firs

I am looking for the answers to exercise 5.68 in objects first with Java.

Write constant declarations for the following

a public varialbe that is used to measure tolerance, with the value 0.001

a private varialbe that is used to indicate a pass mark, with the integer value of 40

a public character varialbe that isused to indicate that the help command is \"h\"

Solution

public double teh=0.001; // no access control its global variable

private int pass_mark=40;// it can be used only in present class only

public char help = \'h\' // no access control its global variable

I am looking for the answers to exercise 5.68 in objects first with Java. Write constant declarations for the following a public varialbe that is used to measur

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site