Show TOC

Code Example Before ExecutionLocate this document in the navigation structure

CLASS cl_car DEFINITION.
  PUBLIC SECTION.
    METHODS: drive
      IMPORTING i_speed TYPE i.
  PRIVATE SECTION.
    DATA: speed TYPE i.
ENDCLASS.

CLASS cl_car IMPLEMENTATION.
  METHOD drive.
    speed = speed + i_speed * '1.6'.
  ENDMETHOD.
ENDCLASS.