You need to sign in to do that
Don't have an account?
Ranu Jain
wrapper classes
hii,
i have a wrapper class cContact in an controller......
i hane an another method in another apex class.......can i pass list of objects of this wrapper class in the method of another apex class ....and can i have a return type of this method of List<WrapperClass>
apex class
{
List<<Wrapper> method(List<Wrapper> lst)
{
}
}
I think you are talking about inner classes.
Inner classes may be visible out side if they are public. but its not a good design to have a inner warpper class in a controller class and use it fro another class.