Echo specific term in an array

It is an object, and you can use the following notation:

<?php echo $myterms[0]->name; ?>

tech