Hi,
I have a Little confusion. First feel free to correct me.
I think all the methods declare in a interface are public and abstract even the word �public� and �abstract� are not there.
Am I correct?
Because the answer given for the following question is 1, 3
public interface AQuestion
{
void someMethod();
}
The class which implements AQuestion
1. Should have someMethod which must necessarily be public.
2. Should have someMethod which could be "friendly" or public
3. Should have someMethod which should not throw any checked exceptions.
4. Should have someMethod which cannot be sychronized as sychronized is not in the signature of the interface defination
waiting for your reply.
vivek