What is a method ?
Answers were Sorted based on User's Feedback
Answer / keerthi
Methods are the functions which describe the behaviour of an object
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / thennavan.m
Entity /Identifier that has reference that state of behavior.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / praveen
A method is set of properties or behaviour of Datamember
and colletion of operations of perticuler class
methods are two types istance and static
we can call the methods directly with using static keyword
in static methods
we can call the instance methods by using creating of
object of the class
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / j.venkatesan
A function is block of code.
Purpose:
* it is mainly used to reduce the size of the program.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ravikiran(aptech mumbai)
A method is used to write the functionality with in a class
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / 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 |
What is an interoperable application in java ?
How variables are stored in memory?
Why 1 is not a prime number?
What is the use of keywords in java?
What are synchronized methods and synchronized statements in java programming?
What is difference between throw and throws ?
An inner class can actually be a subclass of the outer class? a. true b. false
all are saying java doesn't support multiple inheritance but by default Object class is super class for all the user defined classes and we can extend atmost one class so each class can extend more than one class so java supports multiple inheritance?i am confused with this,pls any one explain me.
What is function declaration?
How do you convert bytes to character in java?
What are the java ide’s?
What is local class in java?