+ 1
What is bark()?
Guys, What is â bark()â on class after âvoidâ?
2 Answers
+ 6
void bark()
* void means the method does not return a value
* bark is the name of the method
*() the brackets are empty means this method does not need values
+ 3
://bark() is simply method it can be anything fly(), dance(), programmers declare it what should of programs runs inside bark() like barking count, barking interval etc
https://www.sololearn.com/learn/Java/2152/



