Search Java Interview Questions
| 2158 questions in repository.|
There are more than 200 unanswered questions.
Click here and help us by providing the answer.
|Interview Questions and Answers for 'Caprusit' - 1 question(s) found - Order By Newest|
|Ans. 1. Function Local Variables|
2. Instance Variables
3. Class variables or static variables
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve variables CaprusIT basic   frequent|
|What do you mean by "Java is a statically typed language" ?|
|How does volatile affect code optimization by compiler?|
|What are the advantages and disadvantages of static variables and static methods ?|
| Which of the following can be marked static ?|
a. Methods , Variables and Initialization Blocks.
b. Methods , Variables , Initialization Blocks and Outer Classes and nested Classes.
c. Methods , Variables , Initialization Blocks and Outer Classes.
d. Methods , Variables , Initialization Blocks and nested Classes
|Can we access instance variables within static methods ?|
|What are the disadvantages of using arrays ?|
|What are different types of variables a class can have ?|
|Can we declare static variables as transient ?|
|What is a Final Variable ?|
|When are static variables loaded in memory ?|