interview question
Thursday, June 5, 2008
What is the difference between static and non-static variables?
A static variable is associated with the class as a whole rather than with specific instances of a class. Non-static variables take on unique values with each object instance.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
About Me
dhananjay
Bhadohi, utter pradesh, India
Nothing is impossible....
View my complete profile
Blog Archive
▼
2008
(45)
▼
June
(45)
►
Jun 07
(15)
▼
Jun 05
(10)
Explain the Polymorphism principle.
Explain the Inheritance principle.
Explain the Encapsulation principle.
What is OOPS?Describe the principles of OOPS.
Explain the usage of Java packages.
What's the difference between the methods sleep() ...
Why would you use a synchronized block vs. synchro...
What is the difference between static and non-stat...
What is the difference between a while statement a...
What is Externalizable interface?
►
Jun 04
(8)
►
Jun 03
(8)
►
Jun 02
(4)
No comments:
Post a Comment