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

Biocon Interview Questions
Questions Answers Views Company eMail

What is Transamination?

3 17628

What are Chaemolithotrophs?

4 12270

What are immunoglobulins?

6 16506

What is the difference between transformation and transduction?

4 28976

What are pili or fimbriae?

6 14290

What are viriods?

5 13278

What are the two tests for antibody detection?

4 10115

Explain Gram Staining method?

6 16680

What are introns and exons?

12 27091

What are forbidden clones?

1 14453

what are different types of goitrogens?

2 8138

what is ramachandran plot?what r its applications?

18 61891

what are the structural differences between alpha keratin and collagen?

2 24660

how haemoglobin acts as an allosteric protein?

5 14563

what is niemann-pick disease and what are the disease symptoms?

2 6640

Post New Biocon Interview Questions




Un-Answered Questions

How to verify a user name with sqlcmd tool?

1069


Explain the difference between L1 and L2 regularization?

135


which type of objects reference will be given to client?

2478


TRANSFORMERS WITH DC SUPPLY

2076


What is the Purpose of Preparing Bank Reconciliation Statement?

2047


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)

2272


Is hyper v server 2016 free?

851


What is the relation between x-application and x-server (x-window)

928


What are the events recorded in a transaction log?

989


Describe about size of a molecule, which make a substance antigenic.

446


What is Hibernate Proxy and how it helps in lazy loading?

444


I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.

2057


What do you mean by invalid pointer arithmetic?

1069


how am i supposed to convert a class program in C++ to Matlab? Do i also need to make classes in matlab too or I can do it without making classes???Can somebody help....

1860


What is dbcc?

1129