GeekInterview.com
Series: Subject: Topic:
Question: 1 of 85

Function and Method Differences

what is the difference between function and method in C, Objective C, and JAVA?
Asked by: Anood Hamadeen | Member Since Aug-2012 | Asked on: Aug 3rd, 2012

View all questions by Anood Hamadeen

Showing Answers 1 - 1 of 1 Answers
anil

Answered On : Nov 23rd, 2012

Functions have independent existence means they are defined outside of the class e.g. in C main() is a function while methods do not have independent existence they are always defined inside class e.g. main() in Java is called method.

Yes  1 User has rated as useful.
  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.