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 predicate in java?
Explain how to force the garbage collection in java.
Explain 5 features introduced in jdk 1.7?
What modifiers may be used with a top-level class?
How many bytes is a char in java?
What do you mean by aggregation?
What is the file type?
How many JVMs can run on a single machine and what is the meaning of Just-In-Time (JIT) compiler?
What is abstract class constructor called?
What is == and === in javascript?
What are variable names?
What is string pooling concept?
what is the swingutilities.invokelater(runnable) method for? : Java thread
How do you replace all in word?
Is java hashset ordered?