Find the two largest values of the 10 values entered in Java

(Find the Two Largest Numbers) Using an approach similar to that for Exercise 4.21, find the two largest values of the 10 values entered. [Note: You may input each number only once.]

Find the Two Largest Numbers in java

/*
 *       Filename:  TwoLargest.java
 *
 *    Description:  Exercise 4.23 - Find the Two Largest Numbers
 *
*  @Author:  Bilal Tahir Khan Meo
 *  Website: https://codeblah.com
 *
 * =====================================================================================
 */
public class TwoLargest{
    private int fLargest = 0, sLargest = 0; // first and second largest

    public void enterNumber(int x){
        if(x > fLargest){
            sLargest = fLargest;
            fLargest = x;
        }else if(x > sLargest){
            sLargest = x;
        }
    }
    public int getFirstLargest(){
        return fLargest;
    }
    public int getSecondLargest(){
        return sLargest;
    }
}

TwoLargestTest.java

/*
 *       Filename:  TwoLargestTest.java
 *
 *    Description:  Exercise 4.23 - Find the Two Largest Numbers
 *
*  @Author:  Bilal Tahir Khan Meo
 *  Website: https://codeblah.com
 *
 * =====================================================================================
 */
import java.util.Scanner;

public class TwoLargestTest{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        TwoLargest tl = new TwoLargest();

        for(int i=0; i<10; i++){
            System.out.printf("%d/10. Enter number: ", i+1);
            tl.enterNumber(sc.nextInt());
        }

        System.out.printf("First Largest: %d\nSecond Largest: %d\n",
                tl.getFirstLargest(), tl.getSecondLargest());
    }
}