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
differnce between constructor and method
d one 2 die 4
Greenhorn
Posts: 4
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
can any one tell me what is major three difference between
constructor
and
method?
i will tahnkful 2 u ppl
byi
Dirk Schreckmann
Sheriff
Posts: 7023
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
d one 2 die 4,
Welcome to JavaRanch (again)!
We ain't got many rules 'round these parts, but we do got one. Please
change your display name
to comply with
The JavaRanch Naming Policy
.
Thanks Pardner! Hope to see you 'round the Ranch!
[
How To Ask Good Questions
] [
JavaRanch FAQ Wiki
] [
JavaRanch Radio
]
adi peretz
Greenhorn
Posts: 5
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hi
1)constructors needs to be with the same name as the class
2)they can not return a value
3)you cant inherit a constructor from a perent class
Don't get me started about those stupid
light bulbs
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Diffence between constructor overloading and method overloading
Constructors?
Can I overload a constructor with enum values?
Diffence between constructor overloading and method overloading
differnce between constructor and method
More...