1 : What is meant by collections in java?
2 : What is the difference b/w abstract classes and interface in java?
3 : Why we write "String args[ ]" as a parameter in main method of java?
1.Collection - the collection contains a set of objects (elements). Basic methods for manipulating data are defined here, such as insert (add, addAll), delete (remove, removeAll, clear), search (contains).
2.An abstract class is a class that does not have one or more methods implemented.
The interface is an abstract class, in which no method is implemented, they are all public and there are no class variables.
3.String args[] contains the supplied command-line arguments as an array of String objects.
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
JavaJSPJSF