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

Hitech Civil Engineering Interview Questions
Questions Answers Views Company eMail

calculation of quantities of cement and sand in 1cum mortar with 1:6 ratio

6 7973

what formula used to find the length of triangle ring in column?

1 4711

What is ngl level and how it is transfer to column or beam??

1 2436

Post New Hitech Civil Engineering Interview Questions




Un-Answered Questions

How many threads can apache handle?

467


What is a dunning procedure? : fi- accounts receivable

629


How do you directly call a native function exported from a DLL?

6632


What is dangling pointer and how to avoid it?

541


Give examples for value types?

477






What are the causes of I.O. high temperature in a diesel engine?

1410


What is the role of the namenode?

239


hi frends, i completed mba in 2008,i worked as finance reseach associate in opi comp through consultancy. now my problem is when iam going other comp inteview they ask me is mab finace candidate selected through consultancy. can any body tell me how can i tell ans this

1370


Can you freeze a row in word?

312


Explain respiratory quotient?

660


Is it possible to implement dealloc in arc?

1


3.2 Consider the following class: public class Point { protected int x, y; public Point(int xx, int yy) { x = xx; y = yy; } public Point() { this(0, 0); } public int getx() { return x; } public int gety() { return y; } public String toString() { return "("+x+", "+y+")"; } } Say you wanted to define a rectangle class that stored its top left corner and its height and width as fields. 3.2.1 Why would it be wrong to make Rectangle inherit from Point (where in fact it would inherit the x and y coordinates for its top left corner and you could just add the height and width as additional fields)? (1) 8 Now consider the following skeleton of the Rectangle class: public class Rectangle { private Point topLeft; private int height, width; public Rectangle(Point tl, int h, int w) { topLeft = tl; height = h; width = w; } public Rectangle() { this(new Point(), 0, 0); } // methods come here } 3.2.2 Explain the no-argument constructor of the Rectangle class given above. 3.2.3 Write methods for the Rectangle class to do the following: • a toString() method that returns a string of the format "top left = (x, y); height = h; width = w " where x, y, h and w are the appropriate integer values. • an above() method that tests whether one rectangle is completely above another (i.e. all y values of the one rectangle are greater than all y values of the other). For example, with the following declarations Rectangle r1 = new Rectangle(); Rectangle r2 = new Rectangle(new Point(2,2), 1, 4); the expression r2.above(r1) should give true, and r2.above (r2) should give false. (You can assume that the height of a rectangle is never negative.) (2) (5)

2417


What is the option makes drupal emit “clean” urls? (I.e. Without ?q= in the url)

105


Should I learn php before wordpress?

493


How do you manage your territory and your distributor?

2995