Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #29400

Re: Help understanding methods

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!weretis.net!feeder1.news.weretis.net!newsfeed.CARNet.hr!gregory.BNet.hr!not-for-mail
From Josip Almasi <joe@vrspace.org>
Newsgroups comp.lang.java.programmer
Subject Re: Help understanding methods
Date Mon, 28 Jul 2014 21:29:03 +0200
Organization B.net Hrvatska d.o.o.
Lines 18
Message-ID <lr689v$f8$1@gregory.bnet.hr> (permalink)
References <lr46d1$ub3$1@dont-email.me>
NNTP-Posting-Host cpe-188-252-131-105.zg5.cable.xnet.hr
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Trace gregory.bnet.hr 1406575743 488 188.252.131.105 (28 Jul 2014 19:29:03 GMT)
X-Complaints-To abuse@globalnet.hr
NNTP-Posting-Date Mon, 28 Jul 2014 19:29:03 +0000 (UTC)
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
In-Reply-To <lr46d1$ub3$1@dont-email.me>
Xref csiph.com comp.lang.java.programmer:29400

Show key headers only | View raw


On 07/28/2014 02:46 AM, Scott Dunning wrote:
> So, I'm very new to Java, I have a summer college course and we're on
> functions (methods) and I'm having a bit of trouble understanding them.
...

Certanly seems so.
Let me point out the difference.

A method is not a function. It's a pointer to function.
An object is a structured collection of pointers to functions and variables.
A class is definition of that structure.

Give or take, that's how we used to explain back in the day when folks 
were switching from C to java.
Nowadays folks switching from python to java, I need explanation without 
pointers and structures;>

Regards...

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Help understanding methods Scott Dunning <scottwd01@gmail.com> - 2014-07-27 17:46 -0700
  Re: Help understanding methods Knute Johnson <eternal@knutejohnson.com> - 2014-07-27 18:13 -0700
    Re: Help understanding methods Scott Dunning <scottwd01@gmail.com> - 2014-07-27 18:19 -0700
      Re: Help understanding methods Knute Johnson <eternal@knutejohnson.com> - 2014-07-27 18:49 -0700
        Re: Help understanding methods Knute Johnson <eternal@knutejohnson.com> - 2014-07-27 21:36 -0700
  Re: Help understanding methods Martin Gregorie <martin@address-in-sig.invalid> - 2014-07-28 01:18 +0000
  Re: Help understanding methods Scott Dunning <scottwd01@gmail.com> - 2014-07-27 18:56 -0700
    Re: Help understanding methods "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> - 2014-07-28 12:07 +0100
      Re: Help understanding methods "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> - 2014-07-28 12:44 +0100
  Re: Help understanding methods Roedy Green <see_website@mindprod.com.invalid> - 2014-07-28 07:20 -0700
  Re: Help understanding methods Josip Almasi <joe@vrspace.org> - 2014-07-28 21:29 +0200

csiph-web