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
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
English,
5 months ago
Math,
5 months ago
Math,
10 months ago
Geography,
10 months ago
Social Sciences,
1 year ago
Social Sciences,
1 year ago
English,
1 year ago