Answer Posted / kiranksj
import package in the class.That package related methods are now accessible in a class.If u want call a method
classname.method(); or create a new object to a class and then call the method like objectname.method();
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the difference between double and float variables in java?
What is null in java?
what is the role of xml in core java?? and how we can use it?? can somebody give a sample program with explanation and from where i can read more about xml?????
What is the difference between jfc & wfc?
How many types of gc are there in java?
Describe the syntax of multiple inheritance? When do we use such an inheritance?
What is google full form?
Is age discrete or continuous?
What is use of a abstract variable?
Explain java coding standards for variables ?
What is the purpose of using the java bean?
Can you explain the private protected field modifier?
What do you mean by global variable?
Explain about static imports in java?
What is used of static keyword in java?