Answer Posted / taresh nama
You Must import the package with fully Qualified name of
the class contains method.
Now you can call a method as:classname.method();
You can create a new object to that class and then call the
method as objectname.method();
| Is This Answer Correct ? | 3 Yes | 5 No |
Post New Answer View All Answers
When arithmeticexception is thrown?
How does a for loop work java?
Where is stringbuffer stored?
What is jvm? Why is java called the platform independent programming language?
Why are variables important in research?
What is starvation?
What is not object oriented programming?
What happens if we override only equals?
What is method and methodology?
Can memory leak happen java?
How is hashset defined in java?
What is an example of character?
Is null false in java?
What is object-oriented programming?
What is singleton service?