Documente Academic
Documente Profesional
Documente Cultură
49)
50)
1)
What is a constructor & types of constructors?
2)
Difference between static and instance constructors?
3)
How to a create object for the class?
4)
how to call a method?
5)
What is static attribute & method?
6)
Can we instantiate a class within implementation of other class
7)
Can we put non declarative statement e.g. START-OF-SELECTION within a class?
8)
How to create a global class?
9)
How can we pass importing parameter?
10)
Can we pass returning parameter by reference?
11)
Can a method call itself?
12)
What is me variable?
13)
Can we have export parameter in Instance constructor?
14)
What is an abstract class?
15)
What is final class & Method?
16)
What is an interface?
17)
Can we implement interface in private section of any class?
18)
What is alias?
19)
What is a friend class?
20)
How to create an object for private class?
21)
What is a Single-ton class?
22)
What is a Persistent class?
23)
What is inheritance?
24)
What are the visibility sections visible to subclass of superclass?
25)
Can we declare same name for components of subclass as components of super
class?
26)
What is single inheritance?
27)
Does OOABAP supports multiple inheritance?
28)
What is the root node of all inheritance trees?
29)
How can we re-implement super class method in subclass?
30)
Can we change the parameter interface of the redefined methods?
31)
How to call original method from redefined method?
32)
What is an abstract class?
33)
Can abstract methods be redefined?
34)
Can final class methods be redefined in the subclass?
35)
Can static method be redefined?
36)
Can we change the visibility of the redefined method?
37)
Can the private and protected classes can be inherited?
38)
Does the instantiation of Subclass depend on the super class?
39)
Can the constructor be redefined?
40)
Does the parameter interface of the instance constructor be changed in the subclass?
41)
Do we need to call the super class instance constructor in the subclass when instance
constructor is redefined?
42)
In which order the constructors execute in inheritance tree?
43)
Can we call the instance constructor of the super class in sub class?
44)
Can we call the static constructor of the super class in sub class?
45)
What is polymorphism?
2
46)
What is Narrowing cast(Upcast)? Explain briefly?
47)
What is the use of Narrowing cast?
48)
Which components of sub class can be accessed from super class reference
using narrowing cast?
49)
What is Widening cast ( Down casting)?
50)
What is the use of Widening cast?
1)
What is an Interface?
2)
Can we instantiate the interface?
3)
Can we achieve multiple inheritance using Interfaces?
4)
Can we assign values to attributes of interface inside interface?
5)
Does polymorphism achieved through interfaces?
6)
Where can an interface be implemented in the class?
7)
Is it mandatory to implement all methods of interface in the class which includes
interface?
8)
What is the difference between abstract class and interface?
9)
What is alias?
10)
Can we make methods of interface as abstract and final?
11)
Can we do upcast and downcast using interface references?
12)
Can we declare events in interface?
13)
Can we raise events in interface?
14)
Can abstract class can only be accessed using its static components or its
subclasses.?
15)
What is a single-ton class?
16)
What are the differences between Abstract Class and Interface?
17)
What is the purpose of the Read-only addition on the data statement in a class
definition?
18)
What is the difference in attributes defined in the public versus private section of a
class?
19)
What is the keyword used to define static attributes?
20)
What is the difference in an instance method and a static method?
21)
What statement is used to instantiate an object?
22)
what is the purpose of garbage collector?
23)
When is the constructor method is executed?
24)
Is multiple inheritance is possible in ABAP objects?
25)
Static methods can be redefined ?
26)
A constructor method can be redefined ?
27)
What is a redefined method?
28)
What is a SUPER reference?
29)
What is class?
30)
What is object?
31)
Can we instantiate a class within implementation of other class?
32)
What is deferred key word ?
33)
Can static method use instance attribute ?
34)
Can a method call itself?
35)
What is preferred parameter ?
36)
can we pass returing parameter by reference ?
37)
What is ME variable?
38)
What are type of constructor and explain them?
39)
Can we have export parameter in Instance constructor?
3
40)
41)
42)
43)
44)
45)
46)
47)
48)
49)
50)
51)
52)
53)
11.
12.
13.
14.
What is Inheritance ?
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
Can we restrict a method to have only single return type parameter ? How ?
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
What is Polymorphism ?
51.
52.
53.
54.
55.
56.
57.
58.
59.
60.
61.
62.
63.
64.
65.
66.
67.
68.
69.
70.
71.
72.
73.
74.
75.
76.
What are CLASS Attributes or CLASS Variables? Static attributes are also called as
Class variables?
77.
What are CLASS Methods ? Static Methods are also called as CLASS Methods ?
78.
79.
80.
81.
82.
Can we access Static methods of class without creating Object or not ? If Yes , How ?
83.
84.
85.
What is the Use Of "ME" keyword ? It's a Self Reference.What is the use of ?= ( Type
cast operator ) in OOABAP ?
86.
87.
88.
89.
What is the difference between "Public section" , "Protected Section" & "Private
Section"?
Difference between procedural oriented and object oriented approach.
7
90.
91.
92.
93.
94.
95.
96.
97.
98.
Details about interface, abstract class, final class, friend class , deferred class, load
class.
99.
100.
101.
102.
103.
104.
105.
Concept of overriding.
106.
107.
108.
109.
110.
A brief Concept of narrow and widening casting related to OO ABAP with suitable
real time examples.
111.
The handling mechnisim for class(friend,final,abstract), interface,
constructor, methods ,inheritance ,data objects related to SE24 TCODE.
112.
113.
events,
114.
115.
Brief idea about transient data object and persistence data object.
116.
117.
A brief description about Pseudo-code comment( Risk level and Duration)and
handling mechanisim.
118.
119.
120.