File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
Joined: Jul 28, 2007
Jul 31, 2007 12:43:00
what is the diff between functions and methods
Author and ninkuma
Joined: Jan 10, 2002
Jul 31, 2007 12:44:00
I assume that this is a core
Please take the time to choose the correct forum for your posts. This forum is for questions on
. This post has been moved to a more appropriate forum.
You might also want to consider reading the guidelines that have been put together to help you get the most out of JavaRanch as a resource by clicking the "Smart Questions" link below.
In particular, please
[ July 31, 2007: Message edited by: Bear Bibeault ]
Asking smart questions
Books by Bear
Joined: Oct 13, 2005
Jul 31, 2007 16:22:00
The difference is, functions is what they are called in C and methods is what they are called in Java.
Jesper de Jong
Joined: Aug 16, 2005
Aug 01, 2007 01:13:00
See these Wikipedia pages:
(especially see "Related terms and clarification" at the bottom)
Method (computer science)
The main difference is that a method is associated with a class or object, while a function isn't. In Java, there are no functions like there are in C or C++.
[ August 01, 2007: Message edited by: Jesper Young ]
Java Beginners FAQ
JavaRanch SCJP FAQ
The Java Tutorial
Java SE 8 API documentation
I agree. Here's the link:
Overriding and redefining
what is the diff between ServletContext and SessionContext
throw and throws
defination for the struts frame work
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015