Ad

Saturday, January 30, 2016

Codecademy Learn Java tutorial walkthrough 4 Data Type III char

Unlike string char is used to represent a single character, example 'S' not 'So', and it must be enclosed in single quotes. It's useful for storage for single letters and conserve memory! For example, there's so need to store 'A' in a string that can store any more letters when we can store it in char. If we are writing a mini all of multiple choice questions, we can store the question labels in four chars ('A', 'B', 'C', 'D') and the answers in strings (example "None of the above").

System.out.println('C');

1 comment:

  1. I have read your blog its very attractive and impressive. I like it your blog.

    Java Training in Chennai Core Java Training in Chennai Core Java Training in Chennai

    Java Online Training Java Online Training Core Java 8 Training in Chennai java 8 online training JavaEE Training in Chennai Java EE Training in Chennai

    ReplyDelete

Check Tensorflow Version If Installation is Successful - Google Machine ...

Quickly check Tensorflow version number and successful installation.