I am new to java and while I was going through it i read that all the members inside an interface should be public.
Can anyone please tell me why we cannot give any other access modifier other than public inside an interface to method or variable. and please don't write like it is the way java accepts i knew that but want to know why ?
wht's the logic behind that. Why cannot it be protected ?