Professional Documents
Culture Documents
2.
a)
b)
c)
d)
3.
a)
b)
c)
d)
6.
a)
b)
c)
d)
7.
a)
b)
c)
d)
8.
a)
b)
c)
d)
SISL, Hyderabad
SISL, Hyderabad
SISL, Hyderabad
b) Class is defined with the CREATE PRIVATE and FINAL and instantiated using static
constructor
c) Class is defined with the CREATE PUBLIC and FINAL and instantiated using constructor
d) Class is defined with the CREATE PRIVATE and ABSTRACT and instantiated using static
constructor
25. Mark the correct statements
a) A final class implicitly only contains final methods
b) Classes cannot be both final and abstract
c) Methods cannot be both final and abstract
d) A final class do not implicitly contain final methods, you must explicitly enter FINAL for these
methods
26. Mark the correct statements
a) Events are not subject ot visibility concept
b) Visibility of an event defines authorization for event handling
c) If several objects have registered for an event, then the sequence in which the event
handler methods are called is not defined
d) Events are persistent
27. Static method can also be known as
a) Abstract method
b) Final method
c) Class method
d) Instance method
28. Diagrams in UML to show the dependencies of software and hardware are
a) Class diagrams
b) Behaviour diagrams
c) Component diagrams
d) Distribution diagrams
29. Mark the correct statements
a) Good encapsulation often forces the use of delegation
b) Aggregation is a special kind of composition
c) An association can be recursive
d) Association usually deals with specialization and generalization
30. Small Filled Rhombus
a) Aggregation
b) Composition
c) Specialization
d) Generalization
31. Triangular arrow
a) Point from subordinate class to super class
b) Point from super class to subordinate class
c) Several arrows from various subclasses can be combined into a tree
d) Several arrows from various subclasses cannot be combined into a tree
32. Vertical dotted line
a) indicate messages
b) represents reply
c) object life line
SAP Education Partner
SISL, Hyderabad
d) control focus
33. Vertical Rectangle
a) indicate messages
b) represents reply
c) object life line
d) control focus
34. Result of 7 / 10 if this expression is equated to integer variable
a) 0
b) 1
c) 0.0
d) 1.0
SISL, Hyderabad