[ad_1]
Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –

Java Programming Tutorial – 46 – Static
by
Tags:
Comments
40 responses to “Java Programming Tutorial – 46 – Static”
-
Programming pervert style.
-
when i run the program, it gives me this result , and i don't know why the first and the second name are null .
constructor for null null ,the members in the club 1
constructor for null null ,the members in the club 2
constructor for null null ,the members in the club 3i need your help !!
-
Really good video, thank you !
-
Wow, this is awesome tutorials, just listen to 5:47 … 🙂
-
41 feminists triggered.
-
this is the weirdest programming tut i have ever watched
-
Make sure you spell it wrong hahahaha…
-
This is the first explanation that actually makes sense. THANKY SPANKY!!!
-
whats the difference between that and a regular int member then?
-
*constructor
(sorry) -
package bucky;
import java.util.Scanner;
import java.util.EnumSet;
import java.util.Random;
class apples {
public static void main(String args[]){
tuna member1 = new tuna("Megan", "Fox");
tuna member2 = new tuna("Natalie", "Portman");}
} -
FUCK I LOVE YOU!
-
For those who doesn't understand why we used static term::: Everytime we call constructor we want to member increase. If we don't put static in front of it, first time we call it it will be 1 before printing so it will say member=1, but when we create second object. Member will be again 0, then when it goes to constructor in it, it will increase to 1 again, so it doesn't count how we want. It starts from zero, but we want number increase from where we left.
I hope this helps. -
hottie with a body cutie with booty hahah 🙂 . Great lesson. Thank you.
-
i actually googled Natalie before he told me to do so. LOL
-
Arigato Roberts-Sensei!
-
5:40 I like this guy 😛
-
Where can I get good Java practice exercises in Topic wise format along with solutions ?
Is there a website ? -
I'm confused, he could have just set that integer to public right?
-
Natalie Roberts.
Megan Roberts,
Scarlett Roberts,
Taylor Roberts,
Roberts Roberts.
ROBERTS
ROBBERS
ROB US
ROB ME
RODNEYOnly fools and horses…
-
Good explanation mate
-
I love this guy lol
-
Are constructor and method the same thing? Please clarify the difference. Thank you.
-
If you want to date Megan Fox, Natalie Portman, or Taylor Swift. It might me be useful not to call them "Tuna"
-
who else googles natalie portman??
-
Natalie portman is not hot bro
-
How can i create an equivalent program without the use of the static variable? What should i put into the method?
-
taylor swift yas
-
For anyone who is confused why we should use the static… just remove the static keyword and run it as a normal private global variable – cheers!
-
"Make sure you spelled it wrong."
> lmao -
watched this video and then google searched to know who Natalie Portman is, watched No Strings Attached and it is awesome 😐 and gotta watch the 48th tutorial 😐 😐
-
B-But couldn't you just do this?:
class orange{
public static void main(String[] args){
int memnum = 0;
String member[] = new String[3];
member[0]="Megan Fox";
++memnum;
System.out.println(member[0] + " joined, members in the club:" + memnum);member[1]="Natalie Portman";
++memnum;
System.out.println(member[1] + " joined, members in the club:" + memnum);member[2]="Taylor Swift";
++memnum;
System.out.println(member[2] + " joined, members in the club:" + memnum);
}
} -
Hang on, I just realized how similar you sound to videogamedunkey. Holy crap.
-
"If you don't know who that is, definitely google it" Im crying here.
-
These are the best tutorials on youtube for learning java
-
OMG! He just gave 3 objects women names. How come feminists haven't brought hell to him?
-
how can it count how many people are in the club?
-
How does it know to print 3 times?
-
Half of the reason i watch these is to laugh
-
dont give up Bucky! one day you will go out with a famous one
Leave a Reply