Click here to Skip to main content
15,892,797 members

Comments by abisheak Balaji (Top 4 by date)

abisheak Balaji 18-Feb-19 8:14am View    
Thanks Kornfeld. Let's say I want to get the total of a column and row without using much iterations. Any specific DS for this ?
abisheak Balaji 29-Dec-14 21:19pm View    
I understand that.What I am trying to ask is that how does position variable of type Point calls it's toString() method from the toString() method of Line class.
abisheak Balaji 29-Dec-14 21:16pm View    
Those resources were really helpful.Thanks! :-)
@Override
public String toString()
{
return "Line: " + position + " to " + position.add(end);
}
My question is how does the position variable of type Point in this line of code actually refers to toString method in the Point class.Shouldn't I specify it as position.x and position.y to get the co-ordinates?or atleast shouldn't I do something like position.toString()?

Thanks
abisheak Balaji 22-Feb-14 21:45pm View    
no,I haven't specificed any width and height attribute in IMG src element.
I used MySQL workbench to insert
the data into the database.
I'll update the table definition once I
login to my system.