error: cannot find symbol
Posted: Fri May 25, 2012 6:19 pm
The following does not compile within TextPad 5.4.2, and, the support team commonly tells me that they do not support these issues, so I write them here. I cannot force them to understand a bug if they do not want to listen.
It works within Eclipse.
It works within Eclipse.
Code: Select all
Dog.java
package one;
class Dog
{
public Dog() { count++;}
public short getNumberOfDogs() {return this.count;}
public static short count;
public static void main (String[] args) {}
}
TestOne.java
package one;
public class TestOne
{
public static void main (String[] args)
{
Dog[] d = new Dog[5];
for (int i = 0; i < 5; i++)
{
d[i] = new Dog();
}
}
}