Question 6 [9]
6.1 In what situations (in general) would you use a
TreeMap? (3)
6.2 In what situations (in general) would you use a HashSet
to store a collection of
values?
22
If we opened Windows Internet Explorer 4 times, does it
starts 4 processes or 4 threads?
What is the catch or declare rule for method declarations?
480
What is Normalization?
135
Say you want to store the information about a number of
pets in an array. Typical
information that you could store for each pet (where
relevant) would be
• Breed of animal
• Animal's name
• Its birth date
• Its sex
• Whether it has been sterilised or not
• When it is due for its next inoculation
• When it last had its wings clipped
For each type of pet (eg. dog, cat or bird) you would
typically define a class to hold
the relevant data.
Note: You do not need to implement these classes. Just
answer the following
questions.
3.1.1 What would be the advantage of creating a superclass
(eg. Pet) and
declaring an array of Pet objects over simply using an
array of Objects,
storing each of the instances of the different pet classes
(eg. Dog, Cat or
Bird) in it?
3.1.2 Would you define Pet as a class or as an interface?
Why?
(2)
(2)
18
How can a CORBA object, accessed from a EJB?
182
Hi frnds Ima facing problm with tomcat configuration.kindly can
any one tell to me what is the mistake iam doing.i already
configured tomcat as fallowing
http://www.ibm.com/developerworks/opensource/library/os-eclipse-tomcat/
even though iam getting the PortNO .and changed with different
no of Ports but no working kindly can any one tell me what is the
mistake iam doing........?