a method that is defined by you, the writer of the program.
Joshua J Says
I think what you are looking for is a user defined method. A user defined method is any method that has been defined by the user (just as the name suggests). Example:
class Dog
{
public void speak()
{
System.out.println(“Please don’t eat me!”);
}
}
Since I just made that utterly useless “Dog” class, its only method “speak” is my user defined method.
a method that is defined by you, the writer of the program.
I think what you are looking for is a user defined method. A user defined method is any method that has been defined by the user (just as the name suggests). Example:
class Dog
{
public void speak()
{
System.out.println(“Please don’t eat me!”);
}
}
Since I just made that utterly useless “Dog” class, its only method “speak” is my user defined method.