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 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: References: 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: Xref: csiph.com comp.lang.java.programmer:29400 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...