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
Bojan P
NA
1
11.7k
Difference between instantiate object in class and in constructor of class?
Jan 14 2011 2:49 PM
Is this a same thing? If not, what is the difference?
public class WhatEver{
SomeClass cl = new SomeClass();
//constructor
public WhatEver();
}
public class WhatEver{
//constructor
public WhatEver() {
SomeClass cl = new SomeClass();
}
}
Reply
Answers (
1
)
Updating a record in ms access db where there is a checkbox
multiple forms