A. Error B. Event C. Object D. Throwable E. Exception F. RuntimeException
1. abstract class AbstractIt { 2. abstract float getFloat(); 3. } 4. public class AbstractTest extends AbstractIt { 5. private float f1 = 1.0f; 6. private float getFloat() { return f1; } 7. } What is the result?()
A. Compilation succeeds. B. An exception is thrown. C. Compilation fails because of an error at line 2. D. Compilation fails because of an error at line 6.
public class Test {} What is the prototype of the default constructor?()
A. Test() B. Test(void) C. public Test() D. public Test(void) E. public void Test()