In Java
Write a program which includes a method named numToText(). It has a single parameter. The method takes digit (0-9), and depending on the input, returns the digit as a word (in English). Output the result from main().