Write a program that reads a five digit integer number from the keyboard, and then constructs

the largest possible integer number with the digits of the entered number. Your program should
have only one class , which implements the standard method.You are not allowed to use class String for manipulating the numbers and you also not allowed to use loops or arrays.
@@@@@@
Here is an example of what it should print:
Enter a five digits integer number: 89376
The digits in 89376 are:8,9,3,7,6
The largest number with this digits is : 98763

To solve this problem, we can follow these steps:

1. Read the 5-digit integer number from the user.
2. Extract each digit from the number.
3. Find the largest digit among the extracted digits.
4. Construct the largest 5-digit number using the largest digit.
5. Print the original number, the extracted digits, and the largest number.

Here's a Java program that implements the above steps:

```java
import java.util.Scanner;
import java.util.ArrayList;
import java.util.Collections;

public class LargestNumber {
public static void main(String[] args) {
// Step 1: Read the 5-digit integer number from the user
Scanner scanner = new Scanner(System.in);
System.out.print("Enter a five-digit integer number: ");
int number = scanner.nextInt();
scanner.close();

// Step 2: Extract each digit from the number
ArrayList<Integer> digits = new ArrayList<>();
digits.add(number / 10000 % 10); // Extract the first digit
digits.add(number / 1000 % 10); // Extract the second digit
digits.add(number / 100 % 10); // Extract the third digit
digits.add(number / 10 % 10); // Extract the fourth digit
digits.add(number % 10); // Extract the fifth digit

// Step 3: Find the largest digit among the extracted digits
int largestDigit = Collections.max(digits);

// Step 4: Construct the largest 5-digit number using the largest digit
int largestNumber = largestDigit * 10000 + largestDigit * 1000 + largestDigit * 100 +
largestDigit * 10 + largestDigit;

// Step 5: Print the result
System.out.println("The digits in " + number + " are: " + digits);
System.out.println("The largest number with these digits is: " + largestNumber);
}
}
```

When you run the program and enter a 5-digit integer number, it will display the original number, the extracted digits, and the largest number possible using the extracted digits.

Please note that this solution does not use loops or arrays, as specified in the requirements. However, it should be noted that using loops and arrays would provide a more efficient and flexible solution in most cases.