Nairaland General › Re: What I Got Instead Of Salah Ram by Juniorbuba(m): 9:11pm On Sep 01, 2017 |
overdrive: Lol I tot so too. Guy do u knw wat tot is? |
Education › Re: 8-things-you-shouldnt-do-on-an-empty-stomach/ by Juniorbuba(m): 9:05pm On Sep 01, 2017 |
Don't go to bae's house on an empty stomach |
Jokes Etc › Re: Post The Meme U Love Most Here by Juniorbuba(op): 8:48pm On Sep 01, 2017 |
And finally......
|
Jokes Etc › Re: Post The Meme U Love Most Here by Juniorbuba(op): 8:47pm On Sep 01, 2017 |
No be me talk am oooo....
|
Jokes Etc › Re: Post The Meme U Love Most Here by Juniorbuba(op): 8:46pm On Sep 01, 2017 |
Duuuuh  
|
Jokes Etc › Re: Post The Meme U Love Most Here by Juniorbuba(op): 8:45pm On Sep 01, 2017 |
Nobody on nairaland that does not know this one....
|
Jokes Etc › Re: Post The Meme U Love Most Here by Juniorbuba(op): 8:44pm On Sep 01, 2017 |
I also love this pic....
|
Jokes Etc › Post The Meme U Love Most Here by Juniorbuba(op): 8:42pm On Sep 01, 2017 |
We all have a lot of memes that we post to reply questions and sometimes just to find the trouble of the person above you...post ur best meme here and lets laff all the way
|
Fashion › Re: Why Your Pictures Don't Come Out Fine. by Juniorbuba(m): 8:24pm On Sep 01, 2017 |
Me i don't knw all Tha one ooooo
if u are not a fine gal I will not like ur pinshure gbam!! |
Agriculture › Re: Huge Elephant Shaped Bunches Of Banana by Juniorbuba(m): 4:39pm On Sep 01, 2017 |
These people need cane.....
|
Phones › Re: Which Data Subscription Or Free Browsing Are U Using now by Juniorbuba(m): 8:37am On Sep 01, 2017 |
Daviestunech: *929*10#
Dats if u are eligible
Good luck thanks I'll try it |
Family › Re: 20 Pictures Last Borns Of A Typical Nigerian Family Can Relate To by Juniorbuba(m): 12:14am On Aug 31, 2017 |
Repo!!! Ride on, i relate even though I no b last born  |
Phones › Re: Which Data Subscription Or Free Browsing Are U Using now by Juniorbuba(m): 8:34pm On Aug 28, 2017 |
Daviestunech: Bro u can do 9mobile #200 for 1gig dho na 3days How abeg ma brother |
Politics › Re: Eid-El-Kabir: FG Declares Friday & Monday As Public Holidays by Juniorbuba(m): 7:18pm On Aug 28, 2017 |
Them for put Tuesday join the public holiday sef I wan rest well before them call off strike� |
Nairaland General › Re: Breaking! Eid-l-kabir: Nigeria Declares Friday, Monday As Public Holidays by Juniorbuba(m): 7:10pm On Aug 28, 2017 |
AbuSahl2: happy eid ul kabir to all my dearest muslim brothers and sisters here, am expecting my ram o How many gig ram do u want specifically? |
Nairaland General › Re: Breaking! Eid-l-kabir: Nigeria Declares Friday, Monday As Public Holidays by Juniorbuba(m): 7:09pm On Aug 28, 2017 |
Jaiye tins on point |
|
Phones › Re: Which Data Subscription Or Free Browsing Are U Using now by Juniorbuba(m): 6:01pm On Aug 28, 2017 |
9mobile #200 for 150mb and when i can afford it, #1000 for 1.2gb |
Education › Re: See What A U.S. University Says About Nigerians Studying There by Juniorbuba(m): 5:59pm On Aug 28, 2017 |
Nigeria is a blessed country if u remove all those policemen that use to sleep with their rifle under their head and politicians that use to put money inside house with A.C |
Nairaland General › Re: How Do U Feel If Nobody Likes,Comments On Ur Thread? by Juniorbuba(m): 5:47pm On Aug 28, 2017 |
Op u have sense ooo U are using style to make us comment on ur thread koh? |
|
Nairaland General › Re: Girls That're Dark Skinned Looks Dirty! by Juniorbuba(m): 5:41pm On Aug 28, 2017 |
So for her mind she fine  ? |
|
Nairaland General › Re: Woman Accidentally Feeds Her Children Pet Food After Supermarket Mix-up by Juniorbuba(m): 5:37pm On Aug 28, 2017 |
The woman is sick in the head..... But dog biscuit sha so disgusting |
Nairaland General › Re: Incredible Pictures That You Have To Look Twice Before You Understand It by Juniorbuba(m): 5:36pm On Aug 28, 2017*. Modified: 7:15pm On Aug 28, 2017 |
Hinteresting |
Nairaland General › Re: Some Interesting Facts I Bet You Never Knew by Juniorbuba(m): 5:34pm On Aug 28, 2017 |
I like that number 5 ..... |
Nairaland General › Re: Prof Age Sulaiman Abdulkareem Emerges New Unilorin VC by Juniorbuba(m): 5:32pm On Aug 28, 2017 |
I pray he'll help unilorin students life not worsen it |
|
Education › Re: 10 Things Every Man Should Achieve By Age 30 by Juniorbuba(m): 5:27pm On Aug 28, 2017 |
That number 4 sha!--- from where will he bring the house(rented,brought or built). Nice post though no vex say nah ur mistake i day find op |
Programming › Re: For Computer Science Students by Juniorbuba(m): 9:07am On Aug 28, 2017 |
azibit: Variables In Java Well well, before we proceed, let us begin by understanding the concept of variables in programming. A variable is a label for data in memory. So what exactly do I mean? The essence of programming is to manipulate a given input to get an output. So when the computer receives the input, how does it label it? How does it save it? That is the essence of a variable. A variable is a named memory location for keeping data. So in Java, to save a certain input, it follows a basic way.
First is to define the type of variable you want to save. Well, there are different types of data you can save on the computer, but let us begin with the basic types in Java otherwise known as the primitive data types. The primitive data types handle Numbers, Characters, and Boolean (True or False).
Numbers are also divided into different categories. We have whole numbers and real numbers or you could just imagine numbers with decimals. Whole Number Data Types in Java are byte, short, int and long. These data types hold different range of numbers. The byte is the smallest and the long the largest. Real Number Data Types are basically double and float. They also hold the different range of real numbers with float being the least and the double the largest.
Beyond numbers, we can also save characters. We use char to save characters. Single characters are what is saved using the char. Also, there is the boolean which handles true and false. They handle logical operations.
To create a variable in Java, you first need to declare its type. This is called variable declaration. By declaring a variable type, you are telling Java the type of data you want to save. This concept where a language tells what type of data it holds is called a Strongly Typed Language. Languages that do not hold this paradigm are called loosely typed languages. So Java is a strongly typed language.
variable_type variable_name;
A semicolon must end every statement in Java. After declaring the variable type, the next thing is to define the value that the variable would hold. So for example,
int age;
age = 5;
The first statement creates a variable called age that is to hold a number. The next line initializes age with a value of 5. The second line is called variable initialization. After declaring and initializing a variable, you can now simply refer to the variable name to get the value you saved.
Variables in programming is a bit more extensive than this little explanation but I hope this little explanation throws more light on variable declaration and initialization in Java.
Thank You Or just int age = 5; |
Health › Re: 9 Craziest Things Doctors Removed From Patients by Juniorbuba(m): 9:05am On Aug 28, 2017 |
So that cockroach no see where to enter nah person head.......that cockroach is wicked ooo |
Family › Re: ‘she Holds Vigil Any Night I Demand For Sex; Says Our Kids Are Not Mine’ by Juniorbuba(m): 10:49pm On Aug 27, 2017 |
|