Hey
Im trying to use generic types for the first time in Java , as I only want my constructor to accept classes that implement the "Anealable" interface. theres a problem with my code by the only error I get is "Illegal start of Type" which is not getting very far with trying to make it work
here is the code for my class
package simulated_anealing;
public class Crystal extends Thread {
Object a;
public Crystal(<? implements Anealable> a)
{
this.a = a;
}
}