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
State two differences between C and Java.
What is ‘has a’’ relationship in java?
Why array is used in java?
What are the differences between forwarding () method and sendredirect() methods?
Which of the following is not an isolation level in the JDBC
Define an enumeration?
Is null a string?
What do you understand by soft reference?
What is nullpointerexception?
What is an iterator interface in java programming?
How would you dynamically allocate memory to an array?
What is literal example?
If I don't provide any arguments on the command line, then what will the value stored in the string array passed into the main() method, empty or null?
What is module in oop?
Write a method to check if input string is palindrome?