Search:

Type: Posts; User: jeffpascal

Search: Search took 0.10 seconds.

  1. Replies
    10
    Views
    981

    Re: I have a problem when creating a class

    I understand. I use the IDE because the tutorial i am following uses it, and i understand better. If you know other tutorials that use text editor, i will use them. Thank you for the answers.
    ps: i...
  2. Replies
    10
    Views
    981

    Re: I have a problem when creating a class

    I just tired something... when i clicked File>new file> java class> next There is a Package tab. I didn't type anything in it, and it seems its working... In the tutorial i was following they were...
  3. Replies
    10
    Views
    981

    Re: I have a problem when creating a class

    Yes there are 2 classes in 2 separated files.
    Main is in <default package> ...
    I didn't import anything. i just created a new file as Java Class.

    Ps: try looking at the imgur print... that's...
  4. Replies
    10
    Views
    981

    Re: I have a problem when creating a class

    Exception in thread "main" java.lang.RuntimeException: Uncompilable source code - cannot find symbol
    symbol: class Persoana
    location: class Program
    at Program.main(Program.java:14)
    Java...
  5. Replies
    10
    Views
    981

    Re: I have a problem when creating a class

    I do not know what a full stack trace is... but i will pot my code..

    public class Program {

    public static void main(String[] args) {
    Persoana acces = new Persoana ();

    ...
  6. Replies
    10
    Views
    981

    I have a problem when creating a class

    I do not understant why i get that error http://imgur.com/HhdVmhu

    I am following internet tutorials, and this is where i got stuck
Results 1 to 6 of 6