Multiple Choice Question

Quiz Guidelines

 

QID: 
202
Question: 

Consider the following variable declaration within the definition of an interface:

int i = 10;

Which of the following declarations defined in a non-abstract class, is equivalent to the above?

Select 1 option
A. public static int i = 10;
B. public final int i = 10;
C. public static final int i = 10;
D. public int i = 10;
E. final int i = 10;

Q&A Set: 

Search the Web

Custom Search

Searches whole web. Use the search in the right sidebar to search only within javajee.com!!!