+ 19

Plz someone help me for the answer of primitive operators 2nd question, from basic concepts chapter....

I want to fill in the blanks so dont confuse me😅

28th Sep 2016, 3:31 AM
Siddhant Chogle
Siddhant Chogle - avatar
5 Answers
+ 18
thank u both...
28th Sep 2016, 4:22 AM
Siddhant Chogle
Siddhant Chogle - avatar
+ 4
In the second question of primitive operators they are declaring two variables. I will just give you an example... cass example { public static void main (String [] args) { // Making three variables int x, you, sum; // setting var value x = 3; y = 2; sum = x + y; // printing to console System.out.println (sum); //alternatives would be System.out.println (x+y); System.out.println(3+2); } } All that is happening is basic math functions where they add two different variables and store that value into a 3rs variable and output the results. Knowing this and how it works you should be able to get the answer.
28th Sep 2016, 3:59 AM
Joshua Parsons
Joshua Parsons - avatar
+ 4
x = 3; y = 2; sum = x + y; System.out.println (result);
23rd Aug 2017, 12:27 PM
Bharat
Bharat - avatar
+ 2
+y. result
28th Sep 2016, 3:58 AM
Mr. Ganesh Patel
Mr. Ganesh Patel - avatar
+ 2
type "result" without the quotes. result is used in the line above it, so you want to print out the result.
28th Sep 2016, 8:56 PM
Amy Keating