Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Beginning Java
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Beginning Java
Interface regarding...
Lalit G
Greenhorn
Posts: 6
posted 22 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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.
Lalit
Jim Yingst
Wanderer
Posts: 18671
posted 22 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
What does this have to do with I/O and Streams? I'll move it to
Java
i General (Beginner)...
"I'm not back." - Bill Harding,
Twister
Roy Tock
Ranch Hand
Posts: 83
posted 22 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
The answer is FALSE. One can create protected or private member interfaces. Check out section 9.1.1 of the Java language specification at
http://java.sun.com/docs/books/jls/second_edition/html/interfaces.doc.html#35470
.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
interface
Forward declaration doubt
repeating paul's question
Extend & Implement ?
can an interface be implemented in jsp
More...