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 anagram in java?
How can we pass argument to a function by reference instead of pass by value?
Why stringbuilder is not thread safe?
What is stringbuffer in java?
How many bits is size_t?
What is a singleton factory?
What is an arraylist in java?
Is minecraft java edition free?
Write a program to solve producer consumer problem in java?
Can a static method be final?
Does string isempty check for null?
23. Storage space in java is of the form Stack Queue Heap List 24. What is java code embedded in a web page known as Applets Servlets scriptlets snippets 25. Which of the following attributes are compulsory with an
Can you add null to a list java?
What is linked hashset and its features?
What is listnode in java?