Social Sciences, asked by avneethudda, 8 months ago

Provide the declaration for two variables called x coordinate and y coordinate . Both variables are of type int and both are to be initialised to zero in the declaration .




Please answer if you know. Don't waste time.​

Answers

Answered by pushpanandhinikumare
2

Answer:

Declaration: The code set in bold are all variable declarations that associate a variable ... Declaring a Variable to Refer to an Object; Instantiating a Class; Initializing an Object ... The Java programming language divides variable types into two main ... public class Point { public int x = 0; public int y = 0; //A constructor! public

Explanation:

Similar questions