Get data from derived class into parent class

view story

http://stackoverflow.com – I have my own class which extends Activity. And I have another class which extends my first class. How I can get data from second class in first class? This is schema for better understanding: class1 extends Activity, class2 extends class1. Now I want to get in class1 some data from class2. How can I do that? (HowTos)