Object Oriented Programming (OOP) Concepts MCQs


Q.  Abstract class vs Interface

a. A class may inherit only one abstract class but may inherit several interfaces.
b. An abstract class can provide complete and default code but an interface has no code
c. both a and b
d. none


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  Simran takes twice as long to swim up as to swim down the river and has a speed of 12 km/hr in still water. What is river’s speed?
Category: Career Aptitude Test,   Published by: teswesm
MCQs:  Find average of natural numbers from 1 to 65?
Category: Career Aptitude Test,   Published by: teswesm
MCQs:  In a race, average speed of total 75 bikes is 35km/hr. The average speed of red bikes is 55 km/hr. If average speed of green bikes is 30km/hr, then how many green bikes are there?
Category: Career Aptitude Test,   Published by: teswesm
MCQs:  In a palace, supplies are available for 35 days for only 75 people. 15 Guests arrive in the palace for vacation on day 1 itself. For how many days will these supplies be sufficient for all these people?
Category: Career Aptitude Test,   Published by: teswesm
MCQs:  Suresh keeps all his socks in a single drawer. He has 24 pairs of white socks and 18 pairs of grey socks. Suresh picks 3 socks randomly. Find the possibility of Suresh choosing a matching pair.
Category: Career Aptitude Test,   Published by: teswesm
MCQs:  Ramesh can do a work in 15 days. Vijay and Ramesh together do the same work in 10days. They received Rs. 1155 for that work. What is share of Ramesh and Vijay?
Category: Career Aptitude Test,   Published by: teswesm
MCQs:  During monsoon clearance sale, Amit buys a shirt at double discount of 20% and 10%. At what price he bought the shirt if marked price was Rs. 1000?
Category: Career Aptitude Test,   Published by: teswesm
MCQs:  Profit of Raj while selling a book to Simran is Rs. 63. Despite a discount of 23% on the book Raj manages to get 10% profit. What must be the list price of the book?
Category: Career Aptitude Test,   Published by: teswesm
MCQs:  When will be both hands of a clock at right angle, between 8pm and 9pm?
Category: Career Aptitude Test,   Published by: teswesm
MCQs:  A is formed by reversing the digits of B. B is 45 less than A. The sum of the digits of B is 9. What is A?
Category: Career Aptitude Test,   Published by: teswesm
MCQs:  Square of difference between two numbers is 9 while the sum of squares of those two numbers is 225. What is their product?
Category: Career Aptitude Test,   Published by: teswesm
MCQs:  4/7 of 2/3 of 5/6 of 5/8 of 1008 is
Category: Career Aptitude Test,   Published by: teswesm
MCQs:  A class eats 2/5 of chocolates on 1st day. On the 2nd day they eat 3/4 of the remainder. How many chocolates were there initially if still 75 chocolates are left?
Category: Career Aptitude Test,   Published by: teswesm
MCQs:  The ratio of two numbers is 5 : 6 and their LCM is 480, then their HCF is?
Category: Career Aptitude Test,   Published by: teswesm
MCQs:  Manoj wants to paste wallpaper on wall of his room. The wall is 4 meters and 50 cm in length and 3 meters and 50 cm in height. But the wall should be covered completely only by square pieces of wallpaper having same size. What is the number of maximum sized wallpaper squares needed to cover the walls completely?
Category: Career Aptitude Test,   Published by: teswesm
MCQs:  What will be fraction form of 0.2365236523652365…?
Category: Career Aptitude Test,   Published by: teswesm
MCQs:  Resultant price of mixture of golden rice is Rs. 480 per kg. This mixture is made from two varieties of golden rice which are having price of Rs. 420 per kg and Rs. 520 per kg. What should be ratio of quantities of both types of golden rice?
Category: Career Aptitude Test,   Published by: teswesm
MCQs:  In a mixture of 90 L the ratio of acid and water is 2 : 1. If the ratio of acid and water is to be 1 : 2, then the amount of water (in litres) to be added to the mixture is?
Category: Career Aptitude Test,   Published by: teswesm
MCQs:  Ratio of profits of P, Q and R are 8 : 7 : 9 respectively. For what ratio of time periods did they invest if investments are in the ratio 3 : 2 : 5 respectively?
Category: Career Aptitude Test,   Published by: teswesm
MCQs:  What will be selling price, if cost price is Rs. 120 and gain is 35%?
Category: Career Aptitude Test,   Published by: teswesm