Respuesta :
1) a, you write class Foo { ... }
2) c, a constructor does not have a return type
3) d, every instance gets its own copy
4) b, a reference variable. Ofcourse, an instance or class variable may or may not be a reference variable.
5) c, the new keyword instantiates objects.
2) c, a constructor does not have a return type
3) d, every instance gets its own copy
4) b, a reference variable. Ofcourse, an instance or class variable may or may not be a reference variable.
5) c, the new keyword instantiates objects.
1. a)
2. c)
3. d)
4. b)
5. And this is is either a/d
Hope this is all right!
2. c)
3. d)
4. b)
5. And this is is either a/d
Hope this is all right!