What does init stands for? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What does init stands for?

29th Apr 2016, 10:13 PM
bashir
bashir - avatar
3 Answers
0
guess its initial value
1st May 2016, 7:52 AM
Mísdrevoz Ichihara
Mísdrevoz Ichihara - avatar
0
Yes, init is short for initialize and it would be the variable you're creating for the loop; or in other words, initializing a variable within the for loop's statement.
9th May 2016, 1:32 AM
Jake Perez
Jake Perez - avatar
0
int stands for Initialize object myObject = new object(); . Initialize means to give an initial value to. In some languages, if you don't initialize a variable it will have arbitrary (dirty/garbage) data in it. In C# it is actually a compile-time error to read from an uninitialized variable.
8th Aug 2018, 2:15 AM
deepak sharma
deepak sharma - avatar