best answer > What type of variables can be defined in an interface 2024?- QuesHub | Better Than Quora
The most authoritative answer in 2024
  • Grace Martinez——Studied at University of Michigan, Lives in Ann Arbor, MI

    In Java , interface doesn't allow you to declare any instance variables. Using a variable declared in an interface as an instance variable will return a compile time error. You can declare a constant variable, using static final which is different from an instance variable.Mar 12, 2010read more >>
    +119962023-06-10 06:34:26

About “Java、instance variables、instance variable”,people ask:

READ MORE:

QuesHub is a place where questions meet answers, it is more authentic than Quora, but you still need to discern the answers provided by the respondents.

分享到

取消