Bissoy
Login
Get Advice on Live Video Call
Earn $ Cash $ with
consultations on Bissoy App
What is the keyword used to declare a class that cannot be instantiated and can only be extended?
A
final
B
const
C
static
D
abstract
Correct Answer:
abstract
Which of the following is/are true for an abstract class? i) Abstract classes in PHP are declared with the help of abstract keyword. ii) A class is declare abstract by using the keyword implements. iii) It is a class that really isn’t supposed to ever be instantiated but instead serves as a base class. iv) Attempting to instantiate an abstract class results in an error.
A
Only i)
B
Only iii)
C
ii) and iv)
D
ii), iii) and iv)
Which of the following is/are true for an abstract class?
1. A class is declared abstract by prefacing the definition with the word abstract.
2. A class is declare abstract by using the keyword implements.
3. It is a class that really isn’t supposed to ever be instantiated but instead serves as a base class.
4. Attempting to instantiate an abstract class results in an error.
A
Only 2
B
All of the mentioned
C
2 and 4
D
2, 3 and 4
. . . . . . is a class which can only be instantiated once. You can effectively only have one object per . . . . . class in an application.
A
Constructor, Singleton
B
Singleton, Constructor
C
Singleton, Singleton
D
Loader, Loader
If you want only one memory location to be reserved for a class variable, no matter how many objects are instantiated, you should declare the variable as
A
static
B
unary
C
dynamic
D
volatile
If you want only one memory location to be reserved for a class variable, no matter how many objects are instantiated, you should declare the variable as________
A
dynamic
B
unary
C
static
D
volatile
Which of the following is true?
1. A class can extend more than one class.
2. A class can extend only one class but many interfaces.
3. An interface can extend many interfaces.
4. An interface can implement many interfaces.
5. A class can extend one class and implement many interfaces.
A
1 and 2
B
2 and 4
C
3 and 5
D
3 and 4
E
2 and 5
Read the statement and select a conclusion from the given alternatives. Statement : Company 'X' had asked its employees to declare income and assets but it has strongly opposed by the employees' his/her union and no employee is going to declare his/her income. Conclusions : I. The employees of the company 'X' do not seem to have any additional income besides their salary. II. The employees' union want all the senior officer to declare their income first.
A
Only conclusion I follows
B
Only conclusion II follows
C
Either I or II follows
D
Neither I nor II follows
Directions :
In each of the following questions a statement is given, followed by two conclusions. Give answer :
Statements :
The Government run company had asked its employees to declare their income and assets but it has been strongly resisted by employees union and no employee is going to declare his income.
Conclusions :
I. The employees of this company do not seem to have any additional undisclosed income besides their salary.
II. The employees union wants all senior officers to declare their income first.
A
Only conclusion I follows
B
Only conclusion II follows
C
Either I or II follows
D
Neither I nor II follows
E
Both I and II follow
Steps given are to draw an involute of a given triangle ABC. Arrange the steps. i. With C as centre and radius C1 draw arc cutting AC-extended at 2. ii. With A as center and radius A2 draw an arc cutting BA- extended at 3 completing involute. iii. B as centre with radius AB draw an arc cutting the BC- extended at 1. iv. Draw the given triangle with corners A, B, C.
A
ii, i, iv, iii
B
iii, i , iv, ii
C
i, iii, iv, ii
D
iv, iii, i, ii
The following question is based on the given data for an examination. A. Candidates appeared 10500 B. Passed in all the five subjects 5685 C. Passed in three subjects only 1498 D. Passed in two subjects only 1250 E. Passed in one subject only 835 F. Failed in English only 78 G. Failed in Maths only 275 H. Failed in Physics only 149 I. Failed in Chemistry only 147 J. Failed in Biology only 221 How many candidates passed in at least four subjects ?
A
6555
B
5685
C
1705
D
870