<modifier>* <type> <name> [= <initial_value>}, public class Foo ( 1 2 5) private int x; private float y 10000.0F; private String name "Bates Motel"; - Question2: According to Syntax in above, specify class attribute(s) and variables
Attributes and variables are: x, y, and name.
Comments
Leave a comment