why cannot use protected in this class definition?
Megan Lion
Greenhorn
Joined: Mar 02, 2002
Posts: 7
posted
0
protected class Fred{ private int x=0; private Fred(int xval){ x=xval; } } why the modifier protected and private cannot used ,but public and default is ok?
Valentin Crettaz
Gold Digger
Sheriff
Joined: Aug 26, 2001
Posts: 7610
posted
0
Megan, please do not post several times the same question. I'm closing this thread now.