TS 68 JavaFX Hints

Revision as of 11:00, 23 November 2009 by Sunflower (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)

Version: 1.1
Last update: 23 November 2009


Implement all abstract methods

Generic interface

  • Copy the code to the editor:
import java.lang.Comparable;

class Vector extends Comparable {
  • Implement all abstract methods .
    • EXPECTED RESULT: Implementation of the abstract methods should be added
import java.lang.Comparable;
import java.lang.UnsupportedOperationException;

class Vector extends Comparable {
    override public function compareTo (arg) : Integer {
        throw new UnsupportedOperationException('Not implemented yet');
Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo