Is it acceptable to start a Thread from inside of its constructor after we have initialized fields and is it a bad practice in general to start a Thread from inside of its constructor? For example:
class A extends Thread{
private String s;
private int x
public A(String str,int xx){
s = str;
x = xx;
start();
}
public void run() { System.out.println(s + " " + x);}
}