A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Jul 02, 2001
Jul 17, 2001 22:42:00
Can anybody pls tell me the ans of follwing que.
Q)An Interface can never be private or protected.
Answers -> 1)True Or 2) False
Thanx in advance.
Joined: Jan 30, 2000
Jul 17, 2001 23:31:00
What does this have to do with I/O and Streams? I'll move it to
i General (Beginner)...
"I'm not back." - Bill Harding,
Joined: Jul 16, 2001
Jul 17, 2001 23:54:00
The answer is FALSE. One can create protected or private member interfaces. Check out section 9.1.1 of the Java language specification at
It is sorta covered in the
JavaRanch Style Guide
subject: Interface regarding...
Forward declaration doubt
repeating paul's question
Extend & Implement ?
can an interface be implemented in jsp
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014