This week's book giveaway is in the
Agile and other Processes
forum.
We're giving away four copies of
The Mikado Method
and have Ola Ellnestam and Daniel Brolund on-line!
See
this thread
for details.
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Java
»
Beginning Java
Author
Interface regarding...
Lalit G
Greenhorn
Joined: Jul 02, 2001
Posts: 6
posted
Jul 17, 2001 22:42:00
0
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
Sheriff
Joined: Jan 30, 2000
Posts: 18670
posted
Jul 17, 2001 23:31:00
0
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
Joined: Jul 16, 2001
Posts: 83
posted
Jul 17, 2001 23:54:00
0
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
.
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: Interface regarding...
Similar Threads
Extend & Implement ?
Forward declaration doubt
repeating paul's question
interface
can an interface be implemented in jsp
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter