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
Tim Cooke
paul wheaton
Ron McLeod
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
Beginning Java
Method
Aretha Clark
Greenhorn
Posts: 21
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
anyone know where i can find some very basic examples of how to add a second method to existing code
Rob Spoor
Sheriff
Posts: 22862
132
I like...
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
How did you create your first method? Now just repeat the process and you have your second method.
Just make sure that the new method does not have the exact same name and parameter types.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions
How To Answer Questions
Bill Cruise
Ranch Hand
Posts: 148
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
If you don't have access to the source code, you might be interested in learning about
Inheritance
.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
?
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Finalization Method
NX: When should I throw DuplicateKeyException?
garbage collection
Sharpen your Pencil - Page 323 in HFEJB
Changin font in a JTextArea
More...