Add all the A tasks
This commit is contained in:
parent
2dd7375f96
commit
051504d65b
1608 changed files with 18584 additions and 0 deletions
13
Task/Abstract-type/ABAP/abstract-type-1.abap
Normal file
13
Task/Abstract-type/ABAP/abstract-type-1.abap
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
class abs definition abstract.
|
||||
public section.
|
||||
methods method1 abstract importing iv_value type f exporting ev_ret type i.
|
||||
protected section.
|
||||
methods method2 abstract importing iv_name type string exporting ev_ret type i.
|
||||
methods add importing iv_a type i iv_b type i exporting ev_ret type i.
|
||||
endclass.
|
||||
|
||||
class abs implementation.
|
||||
method add.
|
||||
ev_ret = iv_a + iv_b.
|
||||
endmethod.
|
||||
endclass.
|
||||
5
Task/Abstract-type/ABAP/abstract-type-2.abap
Normal file
5
Task/Abstract-type/ABAP/abstract-type-2.abap
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
interface inter.
|
||||
methods: method1 importing iv_value type f exporting ev_ret type i,
|
||||
method2 importing iv_name type string exporting ev_ret type i,
|
||||
add importing iv_a type i iv_b type i exporting ev_ret type i.
|
||||
endinterface.
|
||||
Loading…
Add table
Add a link
Reference in a new issue