TS 68 JavaFX Hints

(Difference between revisions)
Sunflower (Talk | contribs)
(Created page with ''''Author:''' <br> '''Version:''' 1.1 <br> '''Last update:''' 23 November 2009 <br> '''Introduction:''' <br> '''Comments:''' <br> __TOC__ == Implement all abstract methods …')
Newer edit →

Revision as of 11:00, 23 November 2009

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