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


Groups > comp.lang.java.help > #1196

Re: error: class Tahmin is public, should be declared in a file named Tahmin.java

From Knute Johnson <nospam@knutejohnson.com>
Newsgroups comp.lang.java.help
Subject Re: error: class Tahmin is public, should be declared in a file named Tahmin.java
Date 2011-10-05 15:13 -0700
Organization A noiseless patient Spider
Message-ID <j6ikpl$veb$1@dont-email.me> (permalink)
References <b46b6925-15dc-4540-a598-1bcdaaeec41c@t16g2000yqm.googlegroups.com>

Show all headers | View raw


On 10/5/2011 2:52 PM, Yakup wrote:
> How can i fix this error?

Put the Tahmin class in a file named Tahmin.java or rename the class to 
match the file name.

-- 

Knute Johnson

Back to comp.lang.java.help | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

error: class Tahmin is public, should be declared in a file named Tahmin.java Yakup <yakup266@gmail.com> - 2011-10-05 14:52 -0700
  Re: error: class Tahmin is public, should be declared in a file named Tahmin.java Lew <lewbloch@gmail.com> - 2011-10-05 15:12 -0700
  Re: error: class Tahmin is public, should be declared in a file named Tahmin.java Knute Johnson <nospam@knutejohnson.com> - 2011-10-05 15:13 -0700
  Re: error: class Tahmin is public, should be declared in a file named Tahmin.java Stanimir Stamenkov <s7an10@netscape.net> - 2011-10-06 01:13 +0300

csiph-web