Shalini is learning Java programming language, as it allows developers to write code that can run on any machine, regard less or architecture or platform. Help her in finding solutions of her problems :
(i) She wants to compare two integer values for equality in her java code. Out of (=) and (= =), which operator she should use and why?
(ii) Help her in writing Java code to initialize two integer variables named num1 and num2 with values 5 and 10 respectively. Increase the value of num 1 by 5 and decrease the value of num2 by 5.