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

  • Home
  • SEARCH
  • 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 6858235
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T02:07:56+00:00 2026-05-27T02:07:56+00:00

While reading a book, i came across this statement: The methods of an object

  • 0

While reading a book, i came across this statement:


The methods of an object define its behaviour. These methods are called instance methods. It is important to note that these methods pertain to each object of the class. This should not be confused with the implementation of the methods which is shared by all instances of the class.


I know what instance methods are, I know what static methods are (i.e. shared by all instances of the class). The above statement seem to suggest that the implementation of the methods is shared by all instances. What exactly does this mean? It doesnt sound like it is refering to static methods.

  • 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-27T02:07:57+00:00Added an answer on May 27, 2026 at 2:07 am

    It means that you don’t get an extra copy of the code itself alongside each instance of the class. The behaviour is associated with an instance of the class, so it has that context, but there’s no extra “per instance” price to pay in terms of memory etc for instance methods.

    One quick point to note about static: I don’t like the description of it being “shared by all instances of the class” as that suggests that if there aren’t any instances, it’s unusable. I prefer to say that it’s associated with the class itself instead of a specific instance of the class.

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

Sidebar

Related Questions

I came across this class while reading a C# book and have some questions.
While i was reading java book, i came across Every class extends class Object
i have came across the sentence in a nutshell while reading a technical book
While reading Joe Albahari's excellent book Threading in C# I came across the following
While reading a book about JavaScript I stumbled across an example: var names =
While reading proggit today, I came upon this comment in a post about how
While reading a code I came across, the following definition and initialization of a
I've encoutered these to instructions IN & OUT while reading Understanding Linux Kernel book.
While reading a book called Let us C I read that a function showbit()
As i was reading through the book on Objective-C , i came across an

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.