What is the difference between void getData() and void putData(). ???? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

What is the difference between void getData() and void putData(). ????

26th Jan 2020, 6:37 PM
Soham
2 Respuestas
+ 2
It's user defined function. For void getdata() we put those statements which include getting values from user.for void putdata() we put printing statements
26th Jan 2020, 6:54 PM
Akshay Harshora
Akshay Harshora - avatar
+ 1
You haven't reached that module yet in your course. https://www.sololearn.com/learn/Java/2154/
26th Jan 2020, 7:15 PM
Avinesh
Avinesh - avatar