Message and method in programming

Illustrate the basic difference between the message and method in programming?

E

Expert

Verified

Message in Programming:

a) Objects communicate by sending the messages to one other.

b) The message is sent to invoke the method.

Method in Programming:

a) It gives response to a message.

b) This is an implementation of the operation.

   Related Questions in Programming Languages

  • Q : Index value of the initial element in

    Write the index value of the initial element in an array?

  • Q : Assembly program that reads in five

     I need to write assembly program that reads in five numbers from the user. The user can then be prompted for one of the following pieces of information to be computed and returned: . the mean of the five numbers; . the largest number in the set; . the smallest number in the set; . t

  • Q : Explain Magic number Magic number : It

    Magic number: It is a constant value with significance within a specific context. For example, the value 12 could mean numerous different things - the number of hrs you have worked today, the number of dollars you are payable by a friend, and so forth

  • Q : Image reconstruction in CT using MATLAB

    What is Image reconstruction in CT using MATLAB?

  • Q : What is Pattern Pattern : It is a

    Pattern: It is a recurring theme in class usage or design. Interfaces like Iterator encapsulate a pattern of admission to the items in a collection, whereas freeing the client from the requirement to know details of the way in which the collection is

  • Q : Problem on COBOL if sentence Write a

    Write a COBOL IF sentence to use the values of numeric variables EXAM and COURSEWORK, both assumed to be with format PIC 999 and in the range 0 to 100 and to move the value:“FAIL”, “RC” ( resit coursework), “RE” (r

  • Q : Commands used to create the files

    Specify different commands which are used in order to create the files?

  • Q : Explain Abstract Windowing Toolkit

    Abstract Windowing Toolkit: The Abstract Windowing Toolkit (AWT) offers a collection of classes which simplify the creation of applications with the GUI (graphical user interfaces). Such are to be found in the java.awt packages. Included are classes f

  • Q : What are the tools require writing

    What are the tools require writing XHTML documents?

  • Q : Storing the CSS Definitions in external

    Describe the code in order to store CSS Definitions within the external Files.

©TutorsGlobe All rights reserved 2022-2023.