Basic Java Interview Question and Answers
73. | What is passed by ref and what by value? |
---|---|
All Java method arguments are passed by value. However, Java does manipulate objects by reference, and all object variables themselves are references. | |
74. | What do you mean by order of precedence and associativity? |
---|---|
|
|
75. | What modifiers may be used with an inner class that is a member of an outer class? |
---|---|
An inner class may be declared as public, protected, private, static, final or abstract. | |
76. | What is an inner class? |
---|---|
There are two types of inner class : Static and non static.
|
|