Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Sun, 10 Jun 2012 09:49:45 -0500 From: Leif Roar Moldskred Subject: Re: It doesn't like 'super' where ever I put it. Newsgroups: comp.lang.java.programmer References: User-Agent: tin/2.0.0-20110823 ("Ardenistiel") (UNIX) (Linux/3.0.0-20-generic-pae (i686)) Message-ID: Date: Sun, 10 Jun 2012 09:49:45 -0500 Lines: 12 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-oD4xGcdVOF6kFL+Q5wHfME9RakAeG5QAKJfgJMjQZ9bwKAbNM1QgDE96xwwvlLoelSJwuZ63wkKncvh!yvR/uEacquB5nYbvoki6A3suF72CeM3eUF28XXIFNy7AJt5xa80hOtzegWdcqwf5uwAU9U0MlRQ= X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1435 Xref: csiph.com comp.lang.java.programmer:15174 bilsch wrote: > > OK. Thanks. Can you tell me why that makes a difference? > "void" is a special return type which denotes "returns nothing." It's a rule of Java syntax that the declaration of a constructor _must not_ have a return type, while the declaration of a method which _must_ have one. -- Leif Roar Moldskred