July 16, 2021 in C and CPP
The signature of a method consists of
1.4 The signature of a method consists of
A) Type of the parameters
B) Number of parameters
C) Name of the method
D) all of the above
July 16, 2021 in C and CPP
1.4 The signature of a method consists of
A) Type of the parameters
B) Number of parameters
C) Name of the method
D) all of the above
July 16, 2021 in C and CPP
1.3 Constructors have return type
A) int
B) boolean
C) void
D) none
July 16, 2021 in C and CPP
1.2 Which one is not a valid jump statement
A) return
B) goto
C) continue
D) break
July 16, 2021 in C and CPP
1.1 Which one is not supported by OOP?
A) Abstraction
B) Polymorphism
C) Encapsulation
D) Global variables
July 16, 2021 in C and CPP
c) What are UML class diagrams? What is generalization relationship? Explain it with suitable example.
July 16, 2021 in C and CPP
b) Distinguish between throw and throws with the help of examples.
July 16, 2021 in C and CPP
a) What do you mean by UML USE case diagrams? Explain book issue and return process of
Library Management System with USE case diagrams.
July 16, 2021 in C and CPP
c) In a class hierarchy, in which order are the constructors for the classes that make up the hierarchy are called? How can a specific parameterized constructor of the superclass be called by the subclass?
July 16, 2021 in C and CPP
b) Write a brief note on following types of diagrams in UML.
i) Sequence Diagrams
ii) Activity Diagrams
July 16, 2021 in C and CPP
a) What are packages and how are they useful?