Leave a Reply 4

Your email address will not be published. Required fields are marked *


xxx

xxx

??

de23

de23

default constructor is looks like
public ClassName(){}
but in
class Y{Y(){}}
actually we have constructor with package visibility
class Y{package Y(){}}

you should remember no access specifier != public

abc

abc

but Why not Z??

I mean the Option

F. X and Z