Answer to Question #69893 in Java | JSP | JSF for Afroz

Question #69893
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
Expert's answer
2017-09-04T09:32:07-0400
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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS