View Single Post
  #1 (permalink)  
Old 03-17-2008, 08:27 PM
Jadellll Jadellll is offline
Member
 
Join Date: Mar 2008
Posts: 3
Jadellll is on a distinguished road
public declaration ('undeclaring')
This is probably more simple than the title, but here goes:
I have a class file that created VarClass as a public class.

public class VarClass
//{main{stuff}}

It compiles and works fine. But if I try to make, say, version 2 of it with the same named public class, javac simply says it should be declared in the first class. So my questions are: 1:doesn't it take ram space to remember that? and 2: how can i clear the computer of remembering. And if its a file that has to be edited, how can I tell java to do that?

I've heard of garbage collecting but I'm still learning so thanks.
Reply With Quote
Sponsored Links