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
Is assembly language a low level language?
What are the approaches that you will follow for making a program very efficient?
Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?
What is the difference between a choice and a list?
Can the garbage collection be forced by any means?
Which is fastest collection in java?
Do we need to manually write Copy Constructor?
What is meant by the value of a variable?
What do you mean by order of precedence and associativity?
Why is a string immutable?
What is class??
How do you input a string in java?
What are the two categories of data types in the java programming language?
What is collection api?
What is difference between wait and notify in java?