Public type CycleSortExample not defined in its own file
ArunVatsyayan opened this issue · 1 comments
ArunVatsyayan commented
In the CycleSort.java
file, there is a problem with the CycleSortExample
class. Java conventions require that each public class should be defined in its own file, which is not the case here. This may lead to compilation errors or unexpected behavior.
The specific error message I'm getting is: "The public type CycleSortExample must be defined in its own file".
Please review this and resolve the issue, or let me know if I can provide any additional information.
avantikachauhann commented
Thankyou for the review @ArunVatsyayan