Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Mock Exam Errata
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:
Mock Exam Errata
Constructors
Archana Nair
Greenhorn
Posts: 13
posted 22 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi
I would like to know which are the access modifiers that can be used for constructors and why!
Archana
leena rane
Ranch Hand
Posts: 280
posted 22 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi Archana ,
constructors can hav the following modifiers:
public
private
protected
default(no modifier)
and why!
to control which classes instantiate their classes.
Archana Nair
Greenhorn
Posts: 13
posted 22 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi Leena
THanks for the help.
Archana
When all four tires fall off your canoe, how many tiny ads does it take to build a doghouse?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
another question on constructors
Constructors are not inhertied - True
Why I can't call the parent class constructor?
OOP 4: Lookup
Can constructor throw exception?
More...