Search Interview Questions
| More than 3000 questions in repository.|
There are more than 900 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Java - Interview Questions and Answers|
|Ans. By static import , we can access the static members of a class directly without prefixing it with the class name.|
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  java   java5   static import   static   java keyword   static import Asked in 4 Companies basic   frequent|
| Which of the following combination of keywords is illegal in Java ? |
a. static and transient
b. transient and final
c. static and synchronized
d. abstract and final
|How does volatile affect code optimization by compiler?|
|Can we access instance variables within static methods ?|
|What is Volatile keyword used for ?|
|What is the use of Transient Keyword ?|
|What is a Final Method ?|
|What is a Final Class ?|
|Can we override static methods ? Why ?|
|What is "super" used for ?|
|What is "this" keyword used for ?|