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 J2EE BluPrints?
Difference between final and effectively final ?
What is generic class?
What is Java Shutdown Hook?
Draw a UML class diagram for the code fragment given below: public class StringApplet extends Applet { private Label sampleString; private Button showTheString; private ButtonHandler bHandler; private FlowLayout layout; public StringApplet() { sampleString = new Label(" "); showTheString = new Button (" Show the String"); bHandler = new ButtonHandler(); layout = new FlowLayout(); showTheString.addActionListener(bHandler); setLayout(layout); add(sampleString); add(showTheString); } class ButtonHandler implements ActionListener { public void actionPerformed(ActionEvent e) { samplestring.setText("Good Morning"); } } } Note: The methods need not be indicated on the diagram.
Define Wrapper Classes in Java.
What is intern method in java?
How an object is serialized in java?
How we can skip finally block of exception even if some exception occurs in the exception block in java?
What does the @override annotation do?
How can you handle java exceptions?
How many JVMs can run on a single machine and what is the meaning of Just-In-Time (JIT) compiler?