Answer Posted / janet
Methods are functions that operate on instances of classes
in which they are defined.Objects can communicate with each
other using methods and can call methods in other
classes.Method definition has four parts. They are name of
the method,type of object or primitive type the method
returns,a list of parameters and the body of the method. A
method's signature is a combination of the first three
parts mentioned above.
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
What are the types of literals?
Is array a class in java?
What is the purpose of return statement?
What is data string?
Why inputstreamreader is used in java?
Which package is imported by default?
Why volatile is used in java?
What is :: operator in java 8?
Give an example of use of pointers in java class.
Describe the process as to how substring() methodology mechanisms in java.
what is the messsage u r going to get from an objectoriented programing?
Can a constructor be made final?
What methods are used in Servlet?Applet communication?
Can a final variable be manipulated in java?
Can you pass functions in java?