Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

bscpl Interview Questions
Questions Answers Views Company eMail

If you keep an amount for the office interior designing purpose what is the entry?

5 9467

What is the title of Central Excise Return?

2321

what is holding cost

2 5681

Name the standard sand for concrete tests

6 12384

for rcc which condition will u adopt now

4 9844

Name the standard sand for concrete tests

5 16796

How Will U Verify in Salaries whether TDS is deducted or not?

5 12374

what is work of planning deptt. in any construction compny (in road project)

2523

what is 11kv cable

1 5033

what is the thickness mortar between two bricks

14 29324

What the codes used for Rigid Pavement and Flexible pavement.

1 6116

what is water cement ratio m10,m15,m20,m25,m30,m35m ,m40

12 228140

minimum number of bars in a beam? minimum and maximum column size and beam size ? minimum and maximum aggregate size used in multistorey residential building for columns,beams,slabs?

5487

How to calculate the quantity of cement in Cement Mortar M10 Concrete using 40mm metal

1 8640

Hi guys, in my company, have a recruitment for junior accounts executive(2 to 4 years only).. For 10-15 positions, if any body interest pls send your resume to my mail id... Remember, any body from manufacture or construction field 1st preference...Definitely i will help u.Send ur resume to "mukeshreddy37@gmail.Com" immediately

3 5604

Post New bscpl Interview Questions




Un-Answered Questions

A description of the fundamental elements that are required to make a digibox. I assume that they all record nowadays?

1061


What is css template?

614


How many test cases you have automated per day?

982


What is the best tutorial for python?

1057


What is the difference between long text and short text in access?

856


What is operating ratio?

1053


What is actionform?

988


What is interceptors in angularjs?

850


where can I get a universal self scorer book - maths in discount ?????

2937


why you done m.b.a after completing msc mathematcs and b.ed

2179


What do you mean by inmon?

1131


How many types of session beans are available in ejb?

1028


if u take one worst program,in this program user write the logic is session method.in that program user can get some errors ,that errors we will see in call transaction method,how it is possible.?

2185


What is the difference between one-way slab and two-way slab?

1396


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)

2328