如何在构造函数中初始化值不能由对象传递并且我们可以从主方法传递它们?
class ex
{
int a,b;
ex()
{
this.a=b;
}
public static void main(String args[])
{
//here we pass the values to that consructor ex
ex obj=new ex();
}
}