You are on page 1of 5

SAP OOP's Interview Questions

Difference between Local Class and Global Class ?


What are the Advantages of OOABAP in SAP Development environment ?
Difference between OOABAP and other Programming Languages ?
What is the Transaction code for Global and Global Interfaces ?
Difference between Implicit Objects and Explicit Objects ?
What are the Examples of Implicit objects ?
What is Final Class ?
What is Final Method ?
What is the use of Creating Final Class ?
What is the use of Creating Final Method ?
What is Friend Class ? When we use Friend Class ?
How to Stop/Restrict Inheritance in OOABAP ?
How to Stop/Restrict Polymorphism in OOABAP ?
What is Inheritance ?
What are the types of Inheritance ?
What is single Inheritance and Multi-Level Inheritance in OOABAP ?
Can we have Multiple Inheritance in OOABAP ?
Can we have Multiple Super Classes for one SubClass in OOABAP ?
What is Inheritance Hierarchy ?
Difference between Abstract Class and Interface ?
What is the similarity between Abstract class and Interface ?
What is the use of Abstract Class ?
What is the use of an Interface ?
What is the purpose of creating Aliases ?
What is Abstract method ? When we create Abtract Method ?
What should be the visibility of Abstract Methods in Abstract class ?
What should be the visibility of methods in an Interface ?
What is the use of Constructor ?
What are the types of Constructors ?

Difference between Static Constructor and Instance Constructor ?


What is the purpose of Destructor ?
What is the Use of "REDEFINITION" keyword ?
What is the use of "SUPER" keyword ?
In Which situation we use "REDEFINITION" keyword ?
In Which situation we use "SUPER" keyword ?
Can we make Sub class as Super Class or not ?
What is the Difference between "Method" and "Constructor" ?
What are the various parameters we use for Method in OOABAP ?
Can we create method to have multiple return type Parameters ? How ?
Can we restrict a method to have only single return type parameter ? How
?
In how many ways we can call "Instance method" in OOABAP ?
In how many ways we can call "static method" in OOABAP ?
Can we access instance attributes from Static constructor ?
What is Type Casting ?
How many types of TYpe Casting Exists in OOABAP ?
Difference between Narrow Casting And Wide Casting in OOABAP ?
Difference between UPCasting and Downcasting in OOABAP ?
Can we Implement Multiple Interfaces in single Class ?
How to achieve Multiple Inheritance in OOABAP ?
What is Polymorphism ?
What are the Various techniques used to Achieve Polymorphism ?
What is Method Overloading and Method Overriding ?
Can we use Method Overloading in OOAABAP ?
How to Achieve Polymorhism in OOABAP ?
What is the difference between CLASS , OBJECT and INTERFACE ?
Can we create an Object for Abstract Class ? If No, Why ?
Can we create an Object for Interface ? If No, Why ?
What are Concrete methods in OOABAP ?
What are Non-Concrete methods in OOABAP ?

For What type of Classes we create an Object in OOABAP ?


Can we create an Object for Final Class ?
Can we Override the Final Method in OOABAP ?
What are Exceptions ?
How to Handle Exceptions in OOABAP ?
Difference between Design Time errors and Runtime Errors in OOABAP ?
What is the use of TRY-CATCH Blocks in OOABAP ?
Can we define Abstract Methods in Private section? If No, Why ?
Can we define Interface Methods in Private section or Protected section?
If No, Why?
Difference between "Returning Parameter" and "Exporting Parameter" ?
How to call method if method contains Importing parameters and Exporting
parameters" ?
How to call method if method contains Importing parameters and Returning
parameters" ?
In which situation we use "Receiving Parameter" in method call ?
Can we have Exporting Parameters in Constructor definition ?
Can we have Importing Parameters in Constructor definition ?
What are CLASS Attributes or CLASS Variables? Static attributes are also
called as Class variables?
What are CLASS Methods ? Static Methods are also called as CLASS Methods
?
What is singleton Class ?
Can we access Protected section Methods of Se24 class in WebDynpro ABAP
?
What are the various components of a Class ?
Can we Design ABAP Interactive Reports using OOABAP ? How ?
Can we access Static methods of class without creating Object or not ? I
f Yes , How ?
Can Contructor return values ?
What are the main features of OOABAP ?
What is the Use Of "ME" keyword ? It's a Self Reference.What is the use
of ?= ( Type cast operator ) in OOABAP ?
Can we Inherit Final class in Sub class or not ?

Can we Call Constructor explictly?


What is the difference between "Public section" , "Protected Section" &a
mp; "Private Section"?
Difference between procedural oriented and object oriented approach.
Advantages and use of Object oriented concept related to ABAP.
Different features of OO ABAP.
Analysis of OO ABAP related to development work.
Brief description about Class and objects.
Description about types of class.
Idea about attribute visibility mode and access specifier.
Idea for class visibility.
Brief description for reference data object .
Details about interface, abstract class, final class, friend class , def
erred class, load class.
A brief idea about local and global (class , interface ).
Idea for object and interface reference.
Different method calling procedure(static,dynamic) in OO ABAP.
Idea about constructor in OO ABAP.
A brief description about Events and their use in a class.
Use of super keyword.
Concept of overriding.
Concept for static and non-static related to (attributes , events, const
ructor).
Description about ME refrence.
Idea about parameters type related to ( methods , constructor , events )
.
Details of inheritance mechanisim in OO ABAP.
A brief Concept of narrow and widening casting related to OO ABAP with s
uitable real time examples.
The handling mechnisim for class(friend,final,abstract), interface, even
ts, constructor, methods ,inheritance ,data objects related to SE24 TCODE.
Mechanisim for exceptional handling concept related to OO ABAP.
Class hierarchy details for exceptional handling.

A brief idea about RTTS , RTTI , RTTC mechanisim related to OO ABAP.


Brief idea about transient data object and persistence data object.
A brief description about Test class and Persistence class.
A brief description about Pseudo-code comment( Risk level and Duration)a
nd handling mechanisim.
Mechanisim of unit testing for methods using test class.
Creation mechanisim for test class and persistence class.
Description about different mechanisim(Business key,GUID) to create a pe
rsistence class .
A brief description about standard classes cl_gui_container,cl_gui_custo
m_container,cl_gui_docking_container,cl_gui_splitter_container,cl_gui_easysplitt
er_container.

You might also like