What is the difference between static and non-static
variables?
Answer Posted / javeed
* Non-static which ia(instence variable) can be accessed
only inside a non-sattic method.
* A static variable can be axxessed in both static and non-
static methods.
Is This Answer Correct ? | 8 Yes | 4 No |
Post New Answer View All Answers
What is the meaning of I ++ in java?
Explain the use of shift operator in java. Can you give some examples?
What are the drawbacks for singleton class?
Is array passed by reference in java?
Explain methods specific to list interface?
How many ways can we create singleton class?
What is a jagged array in java?
What about features of local inner class?
How do you allocate memory to object?
What is Applet Stub Interface ?
How thread scheduler schedule the task?
what is a working thread? : Java thread
What is regex used for?
How do you do absolute value in java?
Can finally block be used without a catch?