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|
What are keywords give examples?
What is widening and narrowing in java? Discuss with an example.
Why scanner is used in java?
Is there a way to increase the size of an array after its declaration?
What is nested interface?
Are variables stored in ram?
What is constructor and its types?
What is an iterator interface in java programming?
What are the advantages of assembly language?
Describe the Big-O Notation.
What is meant by stack and queue?
What is the generic function?
Explain java code for recursive solution's base case?
How do you sort a string in alphabetical order in java?
How do you use find and replace?