What is a method ?

Answers were Sorted based on User's Feedback



What is a method ?..

Answer / keerthi

Methods are the functions which describe the behaviour of an object

Is This Answer Correct ?    1 Yes 0 No

What is a method ?..

Answer / thennavan.m

Entity /Identifier that has reference that state of behavior.

Is This Answer Correct ?    0 Yes 0 No

What is a method ?..

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

What is a method ?..

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

What is a method ?..

Answer / ravikiran(aptech mumbai)

A method is used to write the functionality with in a class

Is This Answer Correct ?    0 Yes 1 No

What is a method ?..

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

Post New Answer

More Core Java Interview Questions

How do we make a class serialize?

3 Answers   Syntel,


What are packages in java?

0 Answers  


What is escape analysis algorithm in JVM and how garbage collection actually worked n how it transfer the objects from one kind of space to other?

0 Answers  


What do the thread?class methods run() and start() do?

0 Answers  


Can we clone singleton class in java?

0 Answers  






In what ways you can handle exception ?

3 Answers  


How is final different from finally and finalize?

0 Answers  


What is the primary benefit of encapsulation?

0 Answers  


What is a line break example?

0 Answers  


Explain why wait(), notify() and notifyall() methods are in object class rather than in thread class?

0 Answers  


What is yielding and sleeping? how they different?

2 Answers  


What are the 4 versions of java?

0 Answers  


Categories