|
INTERVIEW QUESTIONS
J2EE
JAVA
DETAILS
Question: Why do we call java until.* package as a framework.
Answer: The Util package bascially contains Collection as its part. A collections framework is a unified architecture for representing and manipulating collections. All collections frameworks contain the following: Interfaces: These are abstract data types that represent collections. Interfaces allow collections to be manipulated independently of the details of their representation. In object-oriented languages, interfaces generally form a hierarchy. Implementations: These are the concrete implementations of the collection interfaces. In essence, they are reusable data structures. Algorithms: These are the methods that perform useful computations, such as searching and sorting, on objects that implement collection interfaces. The algorithms are said to be polymorphic: that is, the same method can be used on many different implementations of the appropriate collection interface. In essence, algorithms are reusable functionality.
|
|
|
Category |
Java Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.3) By 7738 users |
Added on |
8/17/2011 |
Views |
75230 |
Rate it! |
|
|
Question:
Why do we call java until.* package as a framework.
Answer:
The Util package bascially contains Collection as its part. A collections framework is a unified architecture for representing and manipulating collections. All collections frameworks contain the following: Interfaces: These are abstract data types that represent collections. Interfaces allow collections to be manipulated independently of the details of their representation. In object-oriented languages, interfaces generally form a hierarchy. Implementations: These are the concrete implementations of the collection interfaces. In essence, they are reusable data structures. Algorithms: These are the methods that perform useful computations, such as searching and sorting, on objects that implement collection interfaces. The algorithms are said to be polymorphic: that is, the same method can be used on many different implementations of the appropriate collection interface. In essence, algorithms are reusable functionality. Source: CoolInterview.com
This package is used for thread programming and perform some operations on thread. Source: CoolInterview.com
Answered by: revathi L | Date: 2/21/2008
| Contact revathi L
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
How can i call parameterized constructor if am instantiating a object using "Class.forName("Abc").newInstance()"?
|
View Answer
|
|
How to sort String, for example: abced. to change to abcde ?
|
View Answer
|
|
Can you invoke the methods on a Thread once it is stopped?
|
View Answer
|
|
In what situations we can use innerclass and anonymous class
|
View Answer
|
|
What is the disadvantage of threads?
|
View Answer
|
|
As the Swings have more advantages over the AWT.. Why still in market are they using AWTs??
|
View Answer
|
|
What is the difference throw and throws
|
View Answer
|
|
Solve it... public class test {
public static void main(String[] args) { int i=5; i=i++; System.out.println("result::"+i); } }
|
View Answer
|
|
What is garbage collection?Can it be forced?
|
View Answer
|
|
What is difference between & and && in java
|
View Answer
|
|
send me some interview questions on Stringhandling concept
|
View Answer
|
|
Is is true that JAVA is not 100% object oriented language ?
|
View Answer
|
|
Difference b/w synchronized Method and synchronized statement in case of whole body of method cover by synchronized statement.
|
View Answer
|
|
How do you know that where to use abstract class or interface?
|
View Answer
|
|
How System.out.println() works?
|
View Answer
|
|
can the main() method be overloaded? or overrided? and what happens when we do so?
|
View Answer
|
|
What is the use of keyword transient?
|
View Answer
|
|
What is Log4j in java
|
View Answer
|
|
Why we can not override static method?
|
View Answer
|
|
How to create the object to the anonomous class
|
View Answer
|