Advertisement
Guest User

Untitled

a guest
Jul 30th, 2015
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. // Here we explicitly specify the type
  2. var beverage: String = "Leffe"
  3.  
  4. // But the type can also be inferred from the fact that we're assigning it a String value
  5. var name = "Leffe"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement