This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Which of the following are not a valid declarations? A1 float f = 1; A2 float f = 1.2f; A3 float f = 1.2; A4 float f = (float)1.2; In this case float f =1 is a valid declaration. Can any one help me why this declaraion is a valid declaration.