Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java in General
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Java in General
difference between public static and private static with instance variables???
Ahmed M. Omar
Ranch Hand
Posts: 43
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
what is the difference between public static and private static when we declare instance variable in a class (regardless of the accessibility)
class A{ private static var1; public static var2; //what is the difference????? betwwen var1 and var2 }
are that affect on the initialization or finalization of the object
regards
Jesper de Jong
Java Cowboy
Posts: 16084
88
I like...
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Nothing, besides the accessibility.
Jesper's Blog
-
Pluralsight Author Page
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
methods with parameters
Member Variable
Elegant Java
Program format - where to put main()?
Is this consider a JavaBean?
More...