TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Andrew
NA
89
203.9k
Illegal start of expression
Aug 4 2011 7:35 AM
I got this error: "illegal start of expression" while defining static variable. I noticed that it works few minutes ago.
Code:
class Demo{
Demo() {
static int a = 7;
}
}
Thanks!
Reply
Answers (
3
)
Daemon Thread
Synchronized Block and Method