Skip to content

Instantly share code, notes, and snippets.

@DeepakRattan
Last active January 8, 2016 05:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DeepakRattan/e8922f30d176687b6f57 to your computer and use it in GitHub Desktop.
Save DeepakRattan/e8922f30d176687b6f57 to your computer and use it in GitHub Desktop.
Good morming all... I have a query .Can anybody please tell me what is the significance of putting d code inside curly braces?
{
try {
mSocket = IO.socket(Constants.CHAT_SERVER_URL);
Log.e("Socket", String.valueOf(mSocket));
} catch (URISyntaxException e) {
throw new RuntimeException(e);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment