Saturday, January 30, 2016
Codecademy Learn Java Tutorial walkthrough 5 Variables
Like all other coding languages, Java uses variables to store values like 19, true , 'A', "Hello". Java variables are like storage boxes with a label. You must specify the type of the variable and only store values allowed by the type. It's a strict storage system, example you absolutely cannot put jackets in the shoe box. Java is very OCD. For example char myVar = 'Xyz'; will cause Java to error out because char type only allows one character!
int myNumber = 42;
boolean isFun = true;
char movieRating = 'A';
Also note that the variable names are in camel case meaning that the first letter of alternating word is capitalized, example justLikeThis! It's more readable than justlikethis. Though probably less readable than just_like_this.
Why is it called camel case? It looks like the camel back "camelBack".
Tutorial how to set up web hosting, personal portfolio website on Github in 5 minutes. More content coming to this paid channel including in...
What is a domain name system (DNS)? How stuff works explains it in a very good graph I was very confused by the Wikipedia explanatio...
The bogus request from P2PU to hunt for HTML tags in real life has yielded a lot of good thoughts. My first impression was that this is stup...
I recently submitted Project 1 of the Udacity Full Stack Nanodegree curriculum. This blog post is my reflection and review on the experience...