Please read the following table in HTML format from a webpage and then answer the question in detail according to the table. Each table cell is defined by a <td> and a </td> tag. Each table row starts with a <tr> and ends with a </tr> tag. 'rowspan=m' and 'colspan=n' represents a cell spaning over 'm' rows and 'n' columns.

Webpage title:
Freddie Prinze Jr.
Table title:
Television
Table:
<table id='hittask' contenteditable='False'>
<tr> <th colspan=1 rowspan=1 > Year </th><th colspan=1 rowspan=1 > Title </th><th colspan=1 rowspan=1 > Role </th><th colspan=1 rowspan=1 > Notes </th></tr>
<tr> <td colspan=1 rowspan=1 > 1995 </td><td colspan=1 rowspan=1 > Family Matters </td><td colspan=1 rowspan=1 > Tough Guy </td><td colspan=1 rowspan=1 > Episode: "The Gun" </td></tr>
<tr> <td colspan=1 rowspan=1 > 1996 </td><td colspan=1 rowspan=1 > ABC Afterschool Special </td><td colspan=1 rowspan=1 > Jeff </td><td colspan=1 rowspan=1 > Episode: "Too Soon for Jeff" </td></tr>
<tr> <td colspan=1 rowspan=1 > 1997 </td><td colspan=1 rowspan=1 > Detention: The Siege at Johnson High </td><td colspan=1 rowspan=1 > Aaron Sullivan </td><td colspan=1 rowspan=2 > TV movie </td></tr>
<tr> <td colspan=1 rowspan=1 > 1998 </td><td colspan=1 rowspan=1 > Vig </td><td colspan=1 rowspan=1 > Tony </td></tr>
<tr> <td colspan=1 rowspan=1 > 2000 </td><td colspan=1 rowspan=1 > Brak Presents the Brak Show Starring Brak </td><td colspan=1 rowspan=1 > Himself </td><td colspan=1 rowspan=1 > TV special </td></tr>
<tr> <td colspan=1 rowspan=2 > 2002 </td><td colspan=1 rowspan=1 > Frasier </td><td colspan=1 rowspan=1 > Mike (voice) </td><td colspan=1 rowspan=1 > Episode: "Juvenilia" </td></tr>
<tr> <td colspan=1 rowspan=1 > Friends </td><td colspan=1 rowspan=1 > Sandy </td><td colspan=1 rowspan=1 > Episode: "The One with the Male Nanny" </td></tr>
<tr> <td colspan=1 rowspan=1 > 2003 </td><td colspan=1 rowspan=1 > Kim Possible: A Sitch In Time </td><td colspan=1 rowspan=1 > Future Jim / Future Tim (voices) </td><td colspan=1 rowspan=1 > TV movie </td></tr>
<tr> <td colspan=1 rowspan=1 > 2006 </td><td colspan=1 rowspan=1 > George Lopez </td><td colspan=1 rowspan=1 > Freddie Moreno </td><td colspan=1 rowspan=1 > Episode: "George Gets Cross Over Freddie" </td></tr>
<tr> <td colspan=1 rowspan=1 > 2005–06 </td><td colspan=1 rowspan=1 > Freddie </td><td colspan=1 rowspan=1 > Freddie Moreno </td><td colspan=1 rowspan=1 > Also producer and writer 22 episodes </td></tr>
<tr> <td colspan=1 rowspan=1 > 2004–06 </td><td colspan=1 rowspan=1 > Boston Legal </td><td colspan=1 rowspan=1 > Donny Crane </td><td colspan=1 rowspan=1 > 3 episodes </td></tr>
<tr> <td colspan=1 rowspan=1 > 2007 </td><td colspan=1 rowspan=1 > Atlanta </td><td colspan=1 rowspan=1 > Eric </td><td colspan=1 rowspan=1 > TV movie </td></tr>
<tr> <td colspan=1 rowspan=1 > 2008–09 </td><td colspan=1 rowspan=1 > WWE Raw </td><td colspan=1 rowspan=1 > Himself / Host </td><td colspan=1 rowspan=1 > 2 episodes; also writer </td></tr>
<tr> <td colspan=1 rowspan=1 > 2009 </td><td colspan=1 rowspan=1 > No Heroics </td><td colspan=1 rowspan=1 > Bradley / Ultimatium </td><td colspan=1 rowspan=1 > TV movie </td></tr>
<tr> <td class="highlighted"  colspan=1 rowspan=2 > 2010 </td><td colspan=1 rowspan=1 > 24 </td><td colspan=1 rowspan=1 > Cole Ortiz </td><td colspan=1 rowspan=1 > 24 episodes </td></tr>
<tr> <td class="highlighted"  colspan=1 rowspan=1 > Psych </td><td class="highlighted"  colspan=1 rowspan=1 > Dennis </td><td colspan=1 rowspan=1 > Episode: "Not Even Close, Encounters" </td></tr>
<tr> <td colspan=1 rowspan=1 > 2012 </td><td colspan=1 rowspan=1 > Happy Valley </td><td colspan=1 rowspan=1 > Noah </td><td colspan=1 rowspan=1 > TV movie </td></tr>
<tr> <td colspan=1 rowspan=1 > 2005; 2011–18 </td><td colspan=1 rowspan=1 > Robot Chicken </td><td colspan=1 rowspan=1 > Fred Jones / Various (voices) </td><td colspan=1 rowspan=1 > 5 episodes </td></tr>
<tr> <td colspan=1 rowspan=1 > 2013 </td><td colspan=1 rowspan=1 > Witches of East End </td><td colspan=1 rowspan=1 > Leo Wingate </td><td colspan=1 rowspan=1 > 2 episodes </td></tr>
<tr> <td colspan=1 rowspan=1 > 2013–14 </td><td colspan=1 rowspan=1 > Bones </td><td colspan=1 rowspan=1 > Danny Beck </td><td colspan=1 rowspan=1 > 2 episodes </td></tr>
<tr> <td colspan=1 rowspan=1 > 2014–18 </td><td colspan=1 rowspan=1 > Star Wars Rebels </td><td colspan=1 rowspan=1 > Kanan Jarrus (voice) </td><td colspan=1 rowspan=1 > 68 episodes and TV movie </td></tr>
<tr> <td colspan=1 rowspan=2 > 2016 </td><td colspan=1 rowspan=1 > First Impressions </td><td colspan=1 rowspan=1 > Himself </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > Bordertown </td><td colspan=1 rowspan=1 > Voice role </td><td colspan=1 rowspan=1 > Episode: "The Engagement" </td></tr>
<tr> <td colspan=1 rowspan=1 > 2016–17 </td><td colspan=1 rowspan=1 > Movie Trivia Schmoedown </td><td colspan=1 rowspan=1 > The Master / Commentator </td><td colspan=1 rowspan=1 > 4 episodes </td></tr>
<tr> <td colspan=1 rowspan=1 > TBA </td><td colspan=1 rowspan=1 > I Mom So Hard </td><td colspan=1 rowspan=1 > Hale </td><td colspan=1 rowspan=1 > TV movie </td></tr>
</table>
Question:
In what show did Freddie Prinze Jr. play the role of Dennis, and what year did the show come out?
Answer:
In 2010, Freddie Prinze Jr. starred as Dennis in Psych.