File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Comparable interface problem.

 
amit mandal
Ranch Hand
Posts: 46
Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i wrote a small code to use the Comparable interface but am getting an error..please someone tell me where i went wrong.


i dont understand why the jvm isnt able to find the DvDinfo class?
 
Abimaran Kugathasan
Ranch Hand
Posts: 2066
Clojure IntelliJ IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check the code again there are two DVDinfo class definitions! And UseCodeTags when you post codes!
 
amit mandal
Ranch Hand
Posts: 46
Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Abimaran Kugathasan wrote:Check the code again there are two DVDinfo class definitions! And UseCodeTags when you post codes!

Sorry...this was my second post here i understood my mistake in naming the classes :
thanks for helping
 
Abimaran Kugathasan
Ranch Hand
Posts: 2066
Clojure IntelliJ IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So, did you solve the problem?
 
amit mandal
Ranch Hand
Posts: 46
Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Absolutely, the problem is solved generics and collections are heck of a topic so i have to move slowly and in future i will be posting even more queries thanks again for helping. Have a nice day
 
Abimaran Kugathasan
Ranch Hand
Posts: 2066
Clojure IntelliJ IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are Welcome!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic