I don't need advice, I just need solution!
Type: Posts; User: ehsansh
I don't need advice, I just need solution!
No man! it's the best idea which I've implemented in dot net.
In dot net I can do this, I just want to know how to do it in Java.
public class a{
// here I want to read the value of name or f1 or f2 or every other field values from derived classes
}
public class b extends a{
public string name;
}
public class c...
Hi there.
I want to access derived class field values. I can access field names with my code but for the values Its necessary to create a class instance.
I don't know how to do. look at my code:
...