This is for our Java study group.
Import, package, class
Class, import, package
Package, import, class
Package, class, import
Import, class, package
Rate this question:
Extend only a single class and implement only a single interface
Extend only a single class but implement multiple interfaces
Extend multiple classes but implement only a single interface
Extend multiple classes and implement multiple interfaces
Rate this question:
Goto
Malloc
Implementable
Extends
New
Delete
Abstract interfaces can have final methods.
The first concrete subclass must implement all abstract methods of its superclass.
Abstract classes cannot have static methods.
Interfaces can declare instance variables.
A protected method in a superclass that is inherited by a subclass in a different package is now available to all classes in the subclass's package.
Rate this question:
Compiler error for statement v=c
Prints: -Vehicle:Driving--Car:Driving--Vehicle:Driving-
Runtime exception for statement v=c
Prints: -Vehicle:Driving--Car:Driving--Car:Driving-
Prints: -Vehicle:Driving--Car:Driving-
Rate this question:
Quiz Review Timeline +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.