Sunday, January 31, 2021

what is methods in java ??

 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 ..👇👇👇👇

methods in Java 






1 comment:

Featured Posts