Advertisement
Guest User

Untitled

a guest
Jul 16th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. public class OFAndroid {
  2.  
  3. private String text ;
  4. public OFAndroid(String text) {
  5. this.text = text ;
  6. }
  7.  
  8.  
  9. public void useText() {
  10. Log.e("TAG" , this.text);
  11. }
  12. }
  13.  
  14. OFAndroid of = new OFAndroid("some string");
  15.  
  16. of.useText();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement