Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Java only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
Java
what is static function in java
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
dayanand50
New Member
Join Date:
Mar 2010
Posts:
1
#1
what is static function in java
Mar 2 '10, 05:49 AM
ii wanted to know what is static function in java and how to declare it
anurag275125
New Member
Join Date:
Aug 2009
Posts:
79
#2
Mar 2 '10, 08:00 AM
static function in java is the function that can be called without creating the object of the class, they can be called by directly referring the class name.
for example..
MyClass.functio n()
instead of
MyClass obj=new MyClass();
obj.function();
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment