method:getFamily ();return type:Stringcontent:ใช้คืนค่า ชื่อตระกูล ของ fontexample:Font font = new Font ( "TimesRoman", Font.BOLD, 12 ); System.out.println ( font.getFamily() );