Created
July 24, 2008 16:02
-
-
Save ebot/2198 to your computer and use it in GitHub Desktop.
Just testing out gist and the embed option.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
first_name = 'ed' | |
nick_name = 'ebot' | |
puts "Hello, my name is #{first_name}, but everyone calls me #{nick_name}." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The same idea, but in java | |
String firstName = "Ed"; | |
String nickName = "ebot"; | |
System.out.println("Hello, my name is " + nickName | |
+ ", but everyone calls me " + nickName + "."); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment