what is methods in java ??
methods: methods is a block of code it will execute when you call it in other programming language method are called functions,etc ....
e.g
public void mymethod(){
....... //body of the method/function
}
mymethod();//funtion calling
if you want to know more about you can simply go this page you can learn more about methods with suitable example ..
this is the link ..👇👇👇👇
Nice content and easy to understand
ReplyDelete