how u do unit testing?
Answers were Sorted based on User's Feedback
Answer / davis
every single entity of a software is tested individually in
unit testing before they r integrated together...
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / gajendra
We can use the following tool for unit testing
i.e JUnit.
It is an opensource framework .Check with junit.org
| Is This Answer Correct ? | 2 Yes | 1 No |
what is the difference between AWT and SWING what is the advantage of using swing?
Explain java code for recursive solution's base case?
What is lexicographically smallest string?
What is keyset in java?
What is a protected method?
What is abstraction in java?
0 Answers Akamai Technologies,
What releases of Java technology are currently available? What do they contain?
What is the difference between Java Program Constructor and Java Program Method, What is the purpose of Java Program constructor Please Explain it Breafily?
Can we execute java program without main method?
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)
What is nested top-level class?
What is string pooling concept?