Java Program to print the first digit of a given number

Description

Get input num and display the first digit of number num
Input:
675
Output:
The fisrt digit is :6

Solution

Unable to open file!