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 does arrays sort do in java?
Differentiate between run time error and syntax error.
How do you create a first line indent?
What are different access specifiers in java? Explain
What is the default value of local and global variables?
What is treeset and treemap in java?
Why does java have different data types for integers and floating-point values?
What is a static method in java?
What is the escape character in java?
What is array initialization in java?
What is the main purpose of serialization in java?
What is string subsequence method?
What's the difference between comparison done by equals method and == operator?
Explain the difference between jdk, jre, and jvm?
What is method overloading in JAVA? Why is it not present in C ?