What is the difference between void getData() and void putData(). ???? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

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

26th Jan 2020, 6:37 PM
Soham
2 Answers
+ 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