ola. the answer depends on how you defined the ArrayList in your SMS class. if the Message class may access it directly - (i.e. - it is public, or you have your classes in the same package and declared it with package access) -you could just use it straight away. something like:
(This is inside the Message class)
however - this is not a good solution in terms of software engineering. what you probably want to do is have methods in your SMS class for retrieving / deleting messages -
was that any help?
subject: How to retrieve elements from a Arraylist in another class..