Hey guys what is this test() statement? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Hey guys what is this test() statement?

What does the test statement do and why do we need it

19th Aug 2019, 4:33 PM
Justin Korkie
Justin Korkie - avatar
2 Answers
+ 1
assuming this is the void test() method in java tutorials when this method is called it prints out a copy of the variables value that you passed into it.
19th Aug 2019, 10:26 PM
D_Stark
D_Stark - avatar
0
Oh ok that makes sense. Thanks D_Stark
20th Aug 2019, 4:17 AM
Justin Korkie
Justin Korkie - avatar