Java Font Constructor, Apart from the family, fonts have other attributes, the most important of which are style and size.