can anyone explain stactic vs instance method by understanding example plz
sivak
-7
Junior Poster
Recommended Answers
Jump to Poststatic... doesn't have to be instantiated, lives in a static class, and can be called at any time by just the method name.
static class classA { public static void dosomething() { //method that does something } }
intance methods live in a class that must be …
All 4 Replies
Diamonddrake
397
Master Poster
kvprajapati
1,826
Posting Genius
Team Colleague
sivak
-7
Junior Poster
kvprajapati
1,826
Posting Genius
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.