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

CarrizalSoft Technologies Interview Questions
Questions Answers Views Company eMail

What are version control tools? How are they use full can any body name few version control tools.

3 14205

How to write Negative test cases?

12 49753

What is Integration Testing and its types

7 48177

What are the three tiers of a three-tiered architecture?

6 10780

What are the five major technologies that can be used to create Client Server applications?

1 5238

What is a File server?

1 4704

What is the Classification of clients?

1 4608

What are called Non-GUI clients, GUI Clients and OOUI Clients?

1 11639

What are the benefits obtained by using the Client Server oriented TP Monitors Client Server applications?

4 8051

what is Upsizing,down-sizing?

4 18625

How do you optimize SQL queries ?

6 36116

How would you deal with a bug that no one wants to fix? Both the SDE and his lead have said they won?t fix it?

9 20401

Features and disadvantages of dataset?

2 16224

What do you mean by Requirment Coverage?

8 19255

What is checkout ?

10 14942

Post New CarrizalSoft Technologies Interview Questions




Un-Answered Questions

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


What is the use of SUN Server

2069


How many types of km's? And you what are the type's km are used in your project?

606


How to create a new view in mysql?

962


How to install yii framework?

3


Write short notes on any three of the following: (i) Domino Effect (ii) Functional and Dysfunctional conflict (iii) Formal and Informal groups (iv) MBO (v) Organizational Culture and Climate

2532


If you have requirement from client for some scenario how will you choose the instance type?

147


Which is the best product for source controlling compare to vss for version controlling?

791


What is coelom? Are all animals coelomate?

1


What is Load sharing of Transformer ?

2076


How to pass variables by references?

1039


What does the dispose method do with the connection object?

1020


What is stable sort example?

931


What is the difference between isr & function call?

1234


Is the IT field raise again? What is the position of IT after 4 years?

2249