RETURN TYPE is the type of data, the method is going to give as the result.
i.e. what type of data is bevel
by the method after execution of that method
If particular method is not returning any data, then we have to mention it as void method.
for example,
public void add()
public specifies the access modifier, that this method is public
void specifies that this add method and is not going to return any value
add() method name
No comments:
Post a Comment