Act II Scene II
JULIET ’Tis but thy name that is my enemy;
Thou art thyself, though not a Montague.
What’s in a name? that which we call a rose
By any other name would smell as sweet;
So Romeo would, were he not Romeo call’d,
Retain that dear perfection which he owes
Without that title.
In this quote Juliet alledges that Romeo's last name  does not affect the high esteem she holds for him. She calls him perfect in spite of his last name which suggests her being a Capulet does not define her love for him.
Act II Scene II
ROMEO Â
By a name
I know not how to tell thee who I am:
My name, dear saint, is hateful to myself,
Because it is an enemy to thee;
Had I it written, I would tear the word.
In this quote Romeo states that his last name does not  define who he is. He goes so far as to say he would get rid of it  if he could, so that it were not an obstacle to approach Juliet.