Question? you have a class and 2 void main..now can you have any variables outside this two void main functions..if you can are they global or local. are global variables outside the class or inside the class and outside the void main...i know C++ but trying to learn java...ANYBODY
@com520 If you declare variables outside of any method, but of course inside your class, those are global variables inside of the class. To access them from outside the class, you need to have them declared global and then declare an instance of the class that contains them to be able to access them. You shouldn't have two main functions. Hope that helps!
@weetcka Hello. This is a tutorial on how to use the debugger, seeing the values of the variables at any given time is part of debugging, in this case, of a very simple program. Sorry if you didn't find this helpful, there are plenty of resources out there that you can look at.
The reason why this tutorial is the way it is, is because it was originally meant to be a tutorial for an introductory computer science class, and the students were barely touching an IDE on the first place.
hi, your video is realy good, sorry for my englihs but im form colombia, i have a question, is about the code, don't understand how pop up that algorithm? is in 2: 15 but im totaly lost for that, thanks
No te preocupes, yo soy de Mexico (y tengo muy buenos amig@s Colombianos =) ). Lo que pasa es que el codigo lo escribi aparte y solo lo pegue, ya que el tutorial es de debugging. Era un simple codigo para utilizarlo como ejemplo, basicamente un ciclo con un "for". Si apenas estas aprendiendo Java puedo recomendarte unas paginas con tutoriales o puedes mandarme un mensaje a mi correo grisi(arroba)acm(punto)org (cambiando el (arroba) por @ y el (punto) por . )
link pls
mensudcs 7 months ago
hola, tengo una pregunta, este no hay tutorials para eclipse que sean gratis en el internet?
FRAMEDSKATEKREW69 9 months ago
Sorry, you were smoking hash? thumbs up anyway, great tutorial
2:08
TheGamusino82 1 year ago
Question? you have a class and 2 void main..now can you have any variables outside this two void main functions..if you can are they global or local. are global variables outside the class or inside the class and outside the void main...i know C++ but trying to learn java...ANYBODY
com520 1 year ago
@com520 If you declare variables outside of any method, but of course inside your class, those are global variables inside of the class. To access them from outside the class, you need to have them declared global and then declare an instance of the class that contains them to be able to access them. You shouldn't have two main functions. Hope that helps!
Igriss 1 year ago
poor video.
this is not a debuggint tutorial as much as it is running code line-by-line showing that you can see values of variables at any given time.
also, you concentrate way too much on your much-liked recursive algorithm.
weetcka 1 year ago
@weetcka Hello. This is a tutorial on how to use the debugger, seeing the values of the variables at any given time is part of debugging, in this case, of a very simple program. Sorry if you didn't find this helpful, there are plenty of resources out there that you can look at.
The reason why this tutorial is the way it is, is because it was originally meant to be a tutorial for an introductory computer science class, and the students were barely touching an IDE on the first place.
Igriss 1 year ago
hello
elipse is also used for wirting mobile application?
can this file runs on mobile also?
pls tell me
pakistanzindabada 2 years ago
I want to have those "paginas" too I'm new with java too and needing a lot of Help I'm Brazilian :D
amigajac2007 2 years ago
About what? Instead of being pissed just let me know and I might be able to explain it better or do another tutorial for you.
Igriss 2 years ago
I cant understand nothing :pissed
LoonySeo 2 years ago
hi, your video is realy good, sorry for my englihs but im form colombia, i have a question, is about the code, don't understand how pop up that algorithm? is in 2: 15 but im totaly lost for that, thanks
blakcero 2 years ago
No te preocupes, yo soy de Mexico (y tengo muy buenos amig@s Colombianos =) ). Lo que pasa es que el codigo lo escribi aparte y solo lo pegue, ya que el tutorial es de debugging. Era un simple codigo para utilizarlo como ejemplo, basicamente un ciclo con un "for". Si apenas estas aprendiendo Java puedo recomendarte unas paginas con tutoriales o puedes mandarme un mensaje a mi correo grisi(arroba)acm(punto)org (cambiando el (arroba) por @ y el (punto) por . )
IvanGris 2 years ago
Thanks a lot for ur nice explanation. It helps me :) I appriciate ur help
shukkoi 3 years ago 2
Good tutorial, very nicely explained. Why are you using Vista lol :)
Pablos544 3 years ago