@CaedmonGames Yes, that would've been much easier. However, the reason I decided not to go with a loop was because at the time I hadn't yet created a video explaining looping. But yeah, otherwise I would have done something like that. Thanks! I appreciate it.
sound is a bit low
surfingtube 2 months ago
hv anyone told u that u sound like nicholas cage
savanath 11 months ago 4
@savanath Haha nope, haven't heard that one! lol
GWShane 4 months ago
Whats the difference between java and comal programming? We use comal instead of java in school
DemonXY2J 1 year ago
@DemonXY2J Comal is an older language based on BASIC and pascal. Java is a more modern language based on C/C++.
GWShane 4 months ago
HELP PLS!!!!
I need to form
a right triangle,
using a series of 0 or zeros.
i have to use ARRAYS.
I hope you could help. It's an emergency.
I have to pass it 4 hours from now and I have no idea. HELP pls.............
jamzrascal 1 year ago
i have a java exam today
goku123super 2 years ago
@goku123super Hope it went well!
GWShane 4 months ago
im taking basic programing next year :D
dontdodrugs666 2 years ago
@dontdodrugs666 Awesome, hope it went well.
GWShane 4 months ago
can you populate an array for example, an array "c" using a fomula?
-2710.0 + 6359.65 * i - 5231.3167 * Math.pow(i,2) + 2063.1875 * Math.pow(i,3) - 421.9375 * Math.pow(i,4) + 43.1625 * Math.pow(i,5) - 1.7458333 * Math.pow(i,6) + 0.5
kulangotses 2 years ago
@kulangotses I don't see why not. You can populate arrays in a variety of different ways. What I showed was just one basic way of doing it.
GWShane 4 months ago
thanks body, that was an awesome explanation
fastbracelet 2 years ago
@fastbracelet No problem and thank you!
GWShane 4 months ago
are you using a netbook lolll
Ultimaxkeyblade 2 years ago
@Ultimaxkeyblade Close enough.. it was a crappy laptop. I'm using something much better now though.
GWShane 4 months ago
MyArray (12)
MyArray (int 5)
MyArray (Object[] a)-- this could really be anything.
rasil23 2 years ago
thanks for the tutorial :)
I have a question. if we're making array of objects and we want to have 3 constructors let's call it, what would we put in each constructor?
MyArray ()
MyArray (int initCapacity)
MyArray (Object[] a)
NajanJan 3 years ago
@NajanJan No problem! What danielgirotto put would work.
GWShane 4 months ago
Your helped me soooooo friken mutch thank you!
matthew360x 3 years ago
@matthew360x No prob man!
GWShane 4 months ago
omg I have a Java quiz in two days and arrays still boggled me, this helped so much, thanks
Feuyaer 3 years ago
@Feuyaer Great! Glad it helped.
GWShane 4 months ago
Partly good. I think you should have done this instead of print vartype[indexnum]
for(int i; i<5; i++)
{
print(array);
}
idk. but i give you 5 stars since it was professional and well explained.
CaedmonGames 3 years ago
for(int i; i<5; i++)
{
print(array[i]);
}
need to print it at array[index], if you use i you make it array[i]
danielgirotto 3 years ago
@danielgirotto True that.
GWShane 4 months ago
@CaedmonGames Yes, that would've been much easier. However, the reason I decided not to go with a loop was because at the time I hadn't yet created a video explaining looping. But yeah, otherwise I would have done something like that. Thanks! I appreciate it.
GWShane 4 months ago
thanks for the java programming video btw hw do you memorize all the method??
nickgila 3 years ago
practice lol.
devilskullsixtysix 3 years ago
@devilskullsixtysix Yep, and lots of it.
GWShane 4 months ago
@nickgila I only have some of them memorized. I would think that it'd take a long time to memorize every single one.
GWShane 4 months ago