Guest User

Untitled

a guest
Jan 17th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. /**
  2. * Write a description of class StringTester here.
  3. *
  4. * @author (your name)
  5. * @version (a version number or a date)
  6. */
  7. public class StringTester
  8. {
  9. public static void main(){
  10. String message1 = "weatherCondition";
  11. String message2 = "mixed rain and snow";
  12. String message3 = "mixed rain and sleet";
  13. String message4 = "mixed snow and sleet";
  14. String message5 = "light snow showers";
  15. String message6 = "sleet";
  16. String message7 = "smoky";
  17. String message8 = "windy";
  18. String message9 = "clear(night)";
  19. String message10 = "sunny";
  20. String message11 = "mixed rain and hail";
  21. String message12 = "Heavy snow";
  22. String message13 = "heavy snow";
  23.  
  24. System.out.println(message1.length());
  25. String weatherCondition = "thunderstorm";
  26.  
  27.  
  28. }
  29.  
  30.  
  31. }
Add Comment
Please, Sign In to add comment