public interface Foo{ int k = 4; } Which three are equivalent to line 2? ()
Given: package com.sun.scjp; public class Geodetics { public static final double DIAMETER = 12756.32; //kilometers } Which two correctly access the DIAMETER member of the Geodetics class?()
class BaseClass{ private float x= 1.0f; protected void setVar (float f) {x = f;} } class SubClass extends BaseClass { private float x = 2.0f; //insert code here } Which two are valid examples of method overriding?()