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
How do you convert bytes to character in java?
Can we convert stringbuffer to string?
Why a dead thread occurs?
What are latest features introduced with java 8?
What is a qualifier in a sentence?
Why java is used everywhere?
Can substring create new object?
What is the purpose of encapsulation?
23. Storage space in java is of the form Stack Queue Heap List 24. What is java code embedded in a web page known as Applets Servlets scriptlets snippets 25. Which of the following attributes are compulsory with an
Is multiple inheritance supported by java?
when should you use stringbuilder class in a program?
Difference between keyword and identifier.
What is the advantage of preparedstatement over statement?
Is 0 true or false?
How do you take thread dump in java?