Skip to main content

About string operands

Well known data type String is also available on Java.

There are a lot of easy-to-use features on using String data type.
But its little bit complicated on actually using them.

Let me explain by some actual examples.



As you see on the 4th line, if you put the calculating expression in front of the string (which is covered in quotes) and it will automatically return the calculated value of the expression and merge those two strings.

The opposite seems to show the same output, but it doesn't.
See the 5th line and you will see. The following expression 3 + 4 isn't calculated.

Didn't know dem

Its always good to know new things ;)

Popular posts from this blog

Using SyntaxHighlighter on Blogger

Hello, Bedrock Dev here. Today I'm going to show you guys how to use SyntaxHighlighter on Blogger (Just like me!). But, what is SyntaxHighlighter? Simply, it is a code-highlighter for webs (and other). And this is an example of it. So, let's get started adding this cool stuffs on your blog too.   1. Backup your blog templates You can backup your blog templates on your blogger main page. On the right top of the Template page, you could find Backup / Restore Button. Click it and save the template file where you can find later.   2. Adding codes to your blog html Now the real part begins. Copy these codes to your clipboard. And then, go back to the Template page, and click Edit HTML Button. In your blog's template html, there will be </head> tag. Scroll down and find the tag, and paste the code you copied. --- Other Codes --- [Paste the code here] </head> You should paste the code like this. Then, save your template.   3. Using SyntaxHigh

About bitwise and bit shift operands

We are getting to know about Java's basics. Java has the bitwise operators. (which all other advanced programming language do either) There are several operands of them. Bitwise operators & opreator Performs an and calculation between data bits ^ opreator Performs an or calculation between data bits | opreator Performs a xor calculation between data bits ~ operator Inverts all data bits Bitshift operators << operator Shifts the bit pattern to the left >> operator Shifts the bit pattern to the right >>> operator Shifts the zero to the leftmost position These are the opreators. which is never used. Even the Java Documentation says these are "less commonly used". So just make sure you 'heard' of these exists. Check out more about these operators here: Official Java Documentation

Presentation about Big Data X Traffic Jam

I forgot to write this post after the presentation This was a presentation project from science class. Started from my idea, which came from my daily life annoyed from traffic jams. And combined with the popular technology "Big Data", this idea came up with us. Received the best score from the presentation! Nailed it A lot of thanks to teammates, Ilhoon Lee and Jinyoung Choi. Probably the most prepared, and the best presentation of 2016. Average_Russian_driver.gif Simple explanation about the idea: We capture those flooding data from roads, analyse those data, provide to users. That will lead to less traffics, and it will lead to cars staying shorter on the streets. And finally, it will take part on slowing the earth rushing toward global warming. If you are interested more on this topic, please che