Method prototype v signature

Discussion in 'Java' started by Robert Mark Bram, Oct 20, 2003.

  1. Hi all!

    I know that a method signature is the method's name and list of parameter
    types, but what is a method's prototype?

    Is it the signature and return type or..
    is the signature, return type and all modifiers?

    Thanks for any advice!

    Robert Mark Bram, Oct 20, 2003
    1. Advertisements

  2. Robert Mark Bram

    Erwin Moller Guest


    What do you mean with 'all modifiers'?
    Erwin Moller, Oct 20, 2003
    1. Advertisements

  3. Hi Erwin,
    public private protected synchronized static etc - anything we put before
    the method name..

    Robert Mark Bram, Oct 21, 2003
  4. I don't normally see that terminology applied to Java. Function
    prototypes are a C concept that is not relevant to Java.

    John Bollinger
    John C. Bollinger, Oct 21, 2003
  5. Robert Mark Bram

    dharna veragi

    Jul 12, 2017
    Likes Received:
    What is method prototype?
    Give answers according to 12th class
    dharna veragi, Jul 12, 2017
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.