Advertisement
Guest User

Untitled

a guest
Aug 20th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. FactBook book = new FactBook();
  2. book.setFacts(new String[]{
  3. "Ants stretch when they wake up in the morning.",
  4. "Ostriches can run faster than horses.",
  5. "Olympic gold medals are actually made mostly of silver.",
  6. "You are born with 300 bones; by the time you are an adult you will have 206.",
  7. "It takes about 8 minutes for light from the Sun to reach Earth.",
  8. "Some bamboo plants can grow almost a meter in just one day.",
  9. "The state of Florida is bigger than England.",
  10. "Some penguins can leap 2-3 meters out of the water.",
  11. "On average, it takes 66 days to form a new habit.",
  12. "Mammoths still walked the earth when the Great Pyramid was being built." });
  13. String fact = book.getFact();
  14. factTextView.setText(fact);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement