• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

About thread and annonumous inner class

 
Abimaran Kugathasan
Ranch Hand
Posts: 2066
Clojure IntelliJ IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is wrong here?

I couldn't point out it.



Thanks in Advanced!
 
Henry Wong
author
Marshal
Pie
Posts: 21420
84
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

What is it about the error message (obviously compile error) that confuses you? We can't elaborate the message, if you don't tell us what the confusion is.

Henry
 
Abimaran Kugathasan
Ranch Hand
Posts: 2066
Clojure IntelliJ IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Henry Wong wrote:
What is it about the error message (obviously compile error) that confuses you? We can't elaborate the message, if you don't tell us what the confusion is.

Henry


This is the Error message:

 
Minhaj Mehmood
Ranch Hand
Posts: 400
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Abimaran Kugathasan wrote:What is wrong here?

I couldn't point out it.



Thanks in Advanced!


Try this:


The problem is: Thread#start() does not return anything.
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Thread.html#start%28%29
 
Neha Daga
Ranch Hand
Posts: 504
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am late by 5 mins but what minhaj says is true. start() returns nothing and you are assigning that nothing to a Thread object which is incompatible.
 
Abimaran Kugathasan
Ranch Hand
Posts: 2066
Clojure IntelliJ IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yea... Thanks... I forgot...

Thanks to all.......
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic