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 should I use a singleton?
What are static blocks and static initalizers in java ?
What is singleton class in ruby?
What is math floor in java?
What are three types of loops in java?
What is arrays fill in java?
What does a boolean method return?
Tell me about your ability to work under pressure
When do you get classcastexception?
Is empty in java?
What is use of arraylist in java?
Why is the main method declared static?
What is use of a abstract variable?
Does constructor be static?
What is the purpose of using java.lang.class class?