"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...
652Post New Altair QTP Interview Questions
In the case of Internal Reconstruction of company Accrued Int. On debenture / Outstanding int. On debenture transfer or not in capital reduction a/c . Explain
What type of Questions are asked for Interview in Infosys - Financial Process. Any one who is into Research Analyst or Process Executive role, kindly contribute the Questions faced by you?
what is meant by co-immunoprecipitation?
What is the technical difference between On delay timer and a Star delta timer?
Can you help me to pass the journal entry for work in progress for a construction company? I would like to know the debit and credit for W.I.P will be under in which accounts head. Eg: debit will be in current asset a/c head, and credit will be under in which a/c in P&L? whether under purchase a/c head, or under direct income a/c head? please give me the details. Thanks for your previous answer?
H.t motor 6600 volt to same motor lt supply 440volt supply applyed to h.t motor to effect....
How to Get the longfilename from a file?
Question 5 [15] Consider the following classes, illustrating the Strategy design pattern: import java.awt.*; abstract class Text { protected TextApplet tA; protected Text(TextApplet tApplet) { tA = tApplet; } abstract public void draw(Graphics g); } class PlainText extends Text { protected PlainText(TextApplet tApplet) { super(tApplet); } public void draw(Graphics g) { g.setColor(tA.getColor()); g.setFont(new Font("Sans-serif", Font.PLAIN, 12)); g.drawString(tA.getText(), 20, 20); } } class CodeText extends Text { protected CodeText(TextApplet tApplet) { super(tApplet); } public void draw(Graphics g) { g.setColor(tA.getColor()); g.setFont(new Font("Monospaced", Font.PLAIN, 12)); g.drawString(tA.getText(), 20, 20); } } public class TextApplet extends java.applet.Applet { protected Text text; protected String textVal; protected Color color; public String getText() { return textVal; } public Color getColor() { return color; } public void init() { textVal = getParameter("text"); String textStyle = getParameter("style"); String textColor = getParameter("color"); if (textStyle == "code") text = new CodeText(this); else text = new PlainText(this); if (textColor == "red") color = Color.RED; else if (textColor == "blue") color = Color.BLUE; else color = Color.BLACK; } public void paint(Graphics g) { text.draw(g); 10 } } The Text class is more complicated than it should be (there is too much coupling between the Text and TextApplet classes). By getting rid of the reference to a TextApplet object in the Text class and setting the colour in the paint() method, one could turn the Text class into an interface and simplify the strategy classes considerably. 5.1 Rewrite the Text and PlainText classes to do what is described above. (6) 5.2 Explain the consequent changes that are necessary to the TextApplet class. (4) 5.3 Write an additional strategy class called FancyText (to go with your simplified strategy classes) to allow fancy text to be displayed for the value "fancy" provided for the style parameter. It should use the font Font ("Serif", Font.ITALIC, 12). (3) 5.4 Explain what changes are necessary to the TextApplet class for this. (2)
What is the second largest land carnivore?
why the signals of wireless in db value
In convertor can we use rectifier thyristor in place of invertor thyristor with explain.
what are the advantages of manual and automation testing ? and which one would u term as efficent testing and effective testing ?pls do reply thankx in advance
What popular journal did C. V. Riley and B. D. Walsh begin in 1868?
there is something which we call as the basicity of an acid i wanted to ask is that is there something like the basicity of an alkali if yes than how can we define it?
how to build a exercise findig min number of e heap with list imlemented?