Sunday, September 6, 2015

How To Use Variables In Java Programs Post 2

Hi All...!

In this post I'm going to show you how to work with variables made using "short" data type

Let's see the code,




Output,





Let's try to add two short values,





Output,





Another way to do this,





Output,




No comments:

Post a Comment