How to call a function | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to call a function

I would like to know how to call a function in Java. A problem asks to prompt a preloader that states “Loading”. I already have the function. How do I call it?

18th Apr 2021, 1:09 AM
Daniel Lopez
4 Answers
+ 2
Daniel Lopez First make sure it is Java or JavaScript because there is no "Loading" thing in Java
18th Apr 2021, 9:28 AM
A͢J
A͢J - avatar
+ 1
func_name(); this is syntex to call function having name func_name https://www.sololearn.com/learning/2152/
18th Apr 2021, 1:16 AM
Ayush Kumar
Ayush Kumar - avatar
+ 1
Jan Markus 😂😂😂😂😂 Is function ready to say hello party?😂
18th Apr 2021, 4:30 AM
Hacker-KR4636
Hacker-KR4636 - avatar
0
function is ready to go //function not ready 😂😂😂
24th Mar 2022, 1:27 PM
Ruby Sholeye
Ruby Sholeye - avatar