Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3421516
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T06:06:46+00:00 2026-05-18T06:06:46+00:00

Yeah, I’m struggling with that. I cannot distinguish among them because every explanation I

  • 0

Yeah, I’m struggling with that. I cannot distinguish among them because every explanation I read is so unclear and philosophical enough. Can someone clear up these definitions for me ? Thanks guys.

These definitions apply as much to procedural-programming as oop ? Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T06:06:47+00:00Added an answer on May 18, 2026 at 6:06 am

    Function is a combination of instructions coupled together to achieve some result. It may take arguments and return result. If a function doesn’t return a result it is usually called a procedure. Examples:

    function drawLine(x1, y1, x2, y2):
      // draws a line using Bresenham's algorithm from x1,y1 to x2,y2.
      // doesn't return anything
    
    function <number> add(a, b):
      // adds a to b and returns the result as a number
      return a + b
    

    So functions are to do some particular work. For example, when you need to draw a polygon of 3 lines as a part of a vector image it is more convenient to call drawLine thrice than to put all the routine for line drawing inline.

    Methods (“member functions”) are similar to functions, they belongs to classes or objects and usually expresses the verbs of the objects/class. For example, an object of type Window usually would have methods open and close which do corresponding operations to the object they belong.

    Properties are as in everyday language and technically are fields of objects/classes with dedicated getter/setter routines (which can be considered as methods. There are languages that don’t have properties and this behavior is achieved using a private field+get/set methods.).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a very large list Suppose I do that (yeah, I know the
I'm attempting to implement OpenID with ASP.NET MVC (Yeah, we haven't heard that one
Yeah I know that SQL Server has got free express editions(2005/2008) But what i
Yeah, not sure I understand the difference. Because you can specify the target object
Hello yeah I'm asking this question a second time, sorry about that but I
yeah, because GWT not support java.text.Collator (and java.util.Locale also) ;/ Any solutions?
I'm maintaining an application that was copy-pasted for each new customer ( ...yeah, I
Yeah... just thinking about it... Should I store credit card numbers that have been
Yeah, this ought to be fun. I'm working on a site that was built
Yeah, so question looks like I'm kidding, but it turns out that there are

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.