I have Certain Doubts about the questions in this exam marcus green
Java Programmer Certification Mock Exam No 2 Last Updated 29 February 2000Question 57
Which of the following statements are true?
1) Adding more classes via import statements will cause a performance overhead, only import classes you actually use.
2) Under no circumstances can a class be defined with the private modifier
3) A inner class may under some circumstances be defined with the protected modifier
4) An interface cannot be instantiated
Given Answer is 3, 4
I feel that 1,3,4 should be the answer
I feel Option 1 also should be the answer as all, the static methods & variable of the classes included through import statements will be loaded in the memory by the JVM when the Class is loaded ( thus will be memory Hogs with no use ) . please correct if I am wrong