Answer Posted /

Is This Answer Correct ?    Yes No




Post New Answer   View All Answers


Please Help Members By Posting Answers For Below Questions

My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.

925


Hi, I went for L1B visa interview last week and VO told me that you are qualified but apply for H1 or Indivi L1. and he has written as Not clearly approvable on I129. so if i apply again what is the success rate? and he has not given me any slip and DD return also!!

6400


WHEN CAN CAPITAL RESERVE BE CONVERTED INTO GENERAL RESERVE IN THE CASE OF AMALGATION OF COMPANIES?

2613


Tell me the Importent classes in net package?

683


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)

575


How configuration errors in the ISPBX can prevent successful connections?

204


IN A CLASS,THERE ARE 60 STUDENTS.FOR EVERY 8 STUDENTS LEARNING JUDO THERE ARE 4 STUDENTS WHO LEARN KARATE.FOR EVERY 14 STUDENTS LEARNING JUDO THERE ARE 7 STUDENTS WHO LEARN BOTH JUDO AND KARATE AND 7 STUDENTS LEARNING NONE. 1)HOW MANY STUDENTS LEARN ONLY KARATE? 2)HOW MANY STUDENTS LEARN ONLY JUDO? 3)HOW MANY STUDENTS LEARN BOTH KARATE AND JUDO? 4)IF THE STUDENTS WHO LEARN BOTH JUDO AND KARATE STOP LEARNING JUDO,THEN WHAT PERCENTAGE OF THE TOTAL NUMBER STUDENTS LEARN JUDO? 5)IF 50% OF THOSE LEARNING ONLY KARATE STOP LEARNING KARATE AND START LEARNING JUDO,THEN WHAT IS THE RATIO OF THE NUMBER OF STUDENTS LEARNING JUDO TO THOSE LEARNING KARATE? HELLO...CAN ANYONE SEND ANSWERS.. FOR THIS QUES..WITH EXPLANATION PLEASE..

2155


How to design the no. of ceiling fans required in 5mtr X 10 mtr X 3 Mtr hight room?

419


Do you have done System copy? What are the steps?

267


i want to held the examination of the bpsc.pl gave the condition &prepare to eam &whose subjet are chose

945


What action could be taken by you and your manager to improve your performance in your current position?

8452


Why Non-blob column in table required to perform operation with Oracle ?

2107


In automation process timer based automation is best or not? any other possible methods are available

564


How much qty of stone ; sand; cement in R/R stone masonry of 136 CUM

197


i have applied F1 visa 8th Aug and i have been rejected i could not conveince her on transfer from 3years bachelors of environmental science to sociology and i need to reach university by 25th Aug .last interview i said for second bachelor she asked why didnt search for environmental science and environment management and wild life management is different

1616