educative.io

Educative

Code Gives error: duplicate class: Trie at main.java:3

11

The class name in main.java file must not be “Trie” because class Trie already exists.

Hi @Nirav ,

This is Fatimah Abdullah from Educative. I noticed your feedback here, and I’m glad you reached out to us.

In response to your feedback, thank you for pointing out this issue. I have changed the name of the class containing the main() method to TrieDemo so that this clash is removed. Thank you again!

We hope Educative has inspired to further your learning, and please drop us a note if you have any other questions or concerns.

Best Regards,
Fatimah Abdullah | Developer Advocate
Educative Inc.

2 Likes

Thank you Fatimah for quickly working on this. I found educative very helpful and trying out every porblem by my self helps me a lot. I figured that since it could happen to others as well, so pointed it out. Happy to help. :slight_smile: