I need some details about an employee. i have only the
employee id in my presentation layer(JSP).I entered that ID
and click "Show Details" Button. Question is how the JSP
pass that id to Controller layer and DAO and what mechanism
we are using to retrive data from DB and how the data
passed to JSP as a Output. Please explain in detail.
There is a Banking application. It has 2 types of account,
Savings and Current. Write a method calculateInterest by
passing an ArrayList of these account objects and calculate
Interest accordingly. Write code for this situation
What is clipping and repainting and what is the relation
between them?
430
What are parent methods and how can you call them?
194
What are invisible components?.
204
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
which is advanced deep technology in java launched by the
sun microsystem??? The answer is very logical
If u need correct answer mail me at priya_gupta@gmail.com
Hi friends am new to java. I read jar file means collection
of java files. For executing struts application what are
the necessary jar files. " struts.jar " file contains
what. can u explain