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

TATA Interview Questions
Questions Answers Views Company eMail

What is the max demand on your transformer and your company?

10 68358

What are the different sizes of cables for H.T and L.T side of supply?

7 79195

What are the different ratings of the fuse units for different distributions at your organization?

3 26688

What should be the earthing resistance of an industrial substation and also What should be the house hold earthing resistance?

20 112359

What are Storage Classes in C ?

32 128175

Difference Between Call By Value and Call By Reference?

24 227736

what is inventory and how can manage the inventory. what is ledger and what difference in inventory and ledger.

4 16732

How do you work in a team situation?

7 32421

Who are the authors of the Indian Constitution as per its Preamble

7 19157

What is protocol testing. whether u have used any tool in telecom testing.

8 48495

what r the heads of taxation

8 20645

what is assessment year and previous year ?

50 167393

what is Deep Structure?

5 19341

Why can't use DAO instead of ADO?

1 6188

What does it mean when EIBCALEN is equal to zeros?

6 77208

Post New TATA Interview Questions


TATA Interview Questions


Un-Answered Questions

Explain how you can create instances in ember.js ?

5


Integration between organizational management & time management?

908


Can any one tell me , what is the role of SAP Security Admin in BW Security and APO Security ?

1996


how to tune siemens sipart electro pneumatic positioner..plz tel me..

2104


Can you give a detailed explanation on how the boot process of the linux version you like happens?

895


Does facebook still use mysql?

901


What is the purpose of sizeof operator?

1018


1)what is the size of Fact table and dimension table? 2)how to find the size of Fact table and dimension table? 3)how to implement the surrogate key in transform stage? 4)write the configuration file path? 5)how many types of datasets explain? 6)diff b/w developed projects and migration projects? 7)how to delete the header and footer file of the sequencer file? 8)how can u call the parameters in DS in unix environment? 9) how much data ur getting daily ? 10)

2689


Is runtimebroker exe virus?

806


Explain splunk sdks?

196


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)

2253


Why use ball valves on Gas pipelines instead of gate & or globe valves...means basic diffrence or use of these valves..how designers knows this type of valve with rating is required...

2312


How do I run chkdsk from bios?

960


How to concatenate two lists in python?

967


Which object of ado contains datarow datacolumn collection?

928