Manipulating Numbers r In Java, to add two numbers x and y, we write Y r But before the actual addition of the two numbers takes place, we must declare their data type. If X and y are integers, we write int x, yi or int xi int yi C 2000 McGraw-Hill troduction to Object-Oriented Programming with Java--Wu Chapter 3-3© 2000 McGraw-Hill Introduction to Object-Oriented Programming with Java--Wu Chapter 3 - 3 Manipulating Numbers In Java, to add two numbers x and y, we write x + y But before the actual addition of the two numbers takes place, we must declare their data type. If x and y are integers, we write int x, y; or int x; int y;