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
Forums
Register
Login
Java
»
Beginning Java
Can member fields of an interface be set from some other class
ragi singh
,
Ranch Hand
Mar 23, 2010 03:40:08
(0 cow)
(0 skulls)
+Pie
Number of slices to send:
Send
I have an interface with static field . Can we create a reference of the interface and set the member fields of the interface from some other class. ?
Chinna Eranna
,
Ranch Hand
Mar 23, 2010 04:05:25
(0 cow)
(0 skulls)
+Pie
Number of slices to send:
Send
Interface fields are final by default.
You cannot change, once initialized.
David Newton
,
Author
Mar 23, 2010 07:00:35
(0 cow)
(0 skulls)
+Pie
Number of slices to send:
Send
Please see the
JavaRanch naming policy
. Please
change your display name
to conform with this policy. Thanks!
Post by:
autobot
Can you smell this for me? I think this tiny ad smells like blueberry pie!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
This thread has been viewed 811 times.
Similar Threads
Sierra and Bates - Interface Access Modifiers
Why data members are private when we can access them through getter/setters?
question from anilbachi scjp suit ver 1.0
Stream and writer
Kathy / Bert interface question
More...
All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 18:52:22
.