Answer Posted / 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 |
Post New Answer View All Answers
What is the intersection and union methods?
What is difference between printf and scanf?
How many types of memory areas are allocated by jvm?
What is an empty string in css?
Why string is not a wrapper class?
If a variable is declared as private, where may the variable be accessed?
Does string is thread-safe in java?
What is return type in java?
What is the old name of java?
how many types of Inheritance?
Difference between default and protected access specifiers?
How can you set the applet size?
What are the important features of Java 9 release?
What is the map interface in java programming?
Difference between method overloading and overriding.