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
Sakthikumar Thanavel
705
1.3k
495.2k
Memory lifetime between static and instance method.
Jun 1 2015 8:09 AM
Hi friends,
I need one clarification regarding static method. If am i create static method in the class when this memory release?
Eg:
public class A
{
public static int Add(int a,int b)
{
return a+b;
}
}
Suppose, If i create instance the method, when it will release the memory?
Eg:
If am i create static method in the class when this memory release.
Eg:
public class A
{
public int Add(int a,int b)
{
return a+b;
}
}
Which is best in memory.
Reply
Answers (
1
)
Difference between API and Web Services
Database Design