Save
Upgrade to remove ads
Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

Username is available taken
show password


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
Your email address is only used to allow you to reset your password. See our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.
focusNode
Didn't know it?
click below
 
Knew it?
click below
Don't Know
Remaining cards (0)
Know
0:00
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

Wkwk op

QuestionAnswer
UML is a general-purpose notational language used for specifying and visualizing complex software, usually large object-oriented project. Group of answer choices false true True
object is a template or blueprint that defines an object's attributes and operations and that is created at design time Group of answer choices false true False
Abstraction – ability to process objects differently depending on their data type or class. Group of answer choices true false False
A class is a template or blueprint that defines an object's attributes and operations and that is created at design time Group of answer choices false true True
_________ is a running instance of a class that consumes memory and has a finite lifespan Group of answer choices object array class variable Object
Association – referred to as the "kind of" or "is a" relationship Group of answer choices true false False
Super class is from which properties are inherited by another class Group of answer choices false true True
Allows an object to extend its characteristics to another object Group of answer choices extends Inheritance object Inheritance
XML is a general-purpose notational language used for specifying and visualizing complex software, usually large object-oriented project. Group of answer choices false true False
These are the actions performed on that data Group of answer choices Accessibility Operations Attributes Operations
A method that is used to access or retrieve data. Group of answer choices Mutator Accessor Custom Accessor
A method that is used to change the data Group of answer choices Accessor Mutator Custom Mutator
These are the data contained in a class Group of answer choices Operations Attributes Accessibility Attributes
Inheritance – referred to as the "kind of" or "is a" relationship Group of answer choices true false True
Subclass is a new class with properties taken from a parent class Group of answer choices true false True
class is a running instance of a class that consumes memory and has a finite lifespan Group of answer choices true false False
Encapsulation is the process of hiding the implementation details of an object Group of answer choices true false True
Root class is from which properties are inherited by another class Group of answer choices false true False
It is a method that is automatically executed when an object is created. This method is used to initialize the attributes. Group of answer choices Custom Constructor Attributes Constructor
The parent class from which properties are inherited by another class Group of answer choices superclass subclass abstract class Superclass
It is a new class with properties taken from a parent class Group of answer choices superclass subclass abstract class Subclass
Polymorphism – ability to process objects differently depending on their data type or class. Group of answer choices true false True
Polymorphism is the process of picking out the common features of objects and procedures Group of answer choices true false False
Inheritance – allows an object to extend its characteristics to another object. Group of answer choices true false True
It is referred to as the "kind of" or "is a" relationship Group of answer choices Encapsulation Polymorphism Abstraction Inheritance Inheritance
If all the members of all the base classes are private then _____________ Group of answer choices It will make those members public There won't be any use of multiple inheritance Derived class can still access them in multiple inheritance Com There won't be any use of multiple inheritance
When multiple inheritance is used, which class object should be used in order to access all the available members of parent and derived class? Group of answer choices Parent class objects Derived class object Use Abstract derived class Derive Derived class object
What is the minimum number of levels for a implementing multilevel inheritance? Group of answer choices 3 1 2 4 3
How many classes should a program contain to implement the multiple inheritance? Group of answer choices Only 1 At least 3 Exactly 3 At least 1 At least 2
If there are 3 classes. Class C is derived from class B and B is derived from A, Which class destructor will be called at last if object of C is destroyed. Group of answer choices A C All together B A
In multilevel inheritance, which is the most significant feature of OOP used? Group of answer choices Code readability Code efficiency Code reusability Flexibility Code reusability
Base class _______________ Group of answer choices If made abstract, compile time error Can't be made abstract Can be made abstract Must be abstract Can be made abstract
Which programming language restricts the use of multiple inheritance? Group of answer choices PHP Java SmallTalk C++ Java
Can the derived class be made abstract if multiple inheritance is used? Group of answer choices Yes, if all the methods are predefined No, since constructors won't be there No, because other classes must be abstract too Yes, if all the functi Yes, if all the functions are predefined
True or False. Private variables can only be accessed within the same class. Group of answer choices true false True
If all the classes use private inheritance in multilevel inheritance then ____________ Group of answer choices It will not be called multilevel inheritance Each class can access only non-private members of its parent Each subsequent class can ac Each subsequent class can access only non-private members of its parent
If single inheritance is used with class A and B. A is base class. Then class C, D and E where C is base class and D is derived from C, then E is derived from D. Class C is made to inherit from class B. Which is the resultant type? Group of answer choice
The technique of deriving new class definitions from an existing class definition Group of answer choices Polymorphism Encapsulation Inheritance Inheritance
Which type of inheritance is most suitable for inheriting Same syllabus into different colleges with different streams? Group of answer choices Single Multiple Hierarchical Multilevel Hierarchical
Is it possible to have all the abstract classes as base classes of a derived class from those? Group of answer choices Yes, always No, never Yes, only if derived class implements all the methods No, because abstract classes doesn't have const Yes, only if derived class implements all the methods
If class A inherits class B and class C as "class A: public class B, public class C {// class body ;}; ", which class constructor will be called first? Group of answer choices Class A All together Class B Class C Class B
A keyword that contains a reference to the parent class object. Group of answer choices sub super this Super
How many abstract classes can be used in multilevel inheritance? Group of answer choices Only 1 Can't be used At least one less than number of levels Only 2 At least one less than number of levels
Multiple inheritance is ____________________ Group of answer choices When a class is derived from other two derived classes When a class is derived from two or more classes When a class is derived from exactly one class When a class is derive When a class is derived from two or more classes.
If all the classes used parameterized constructors and no default constructor then ___________ Group of answer choices Object of lower level classes must define all the default constructors Only object of first class can be created, which is first Object of lower level classes must define all the default constructors.
Classes that can no longer be subclassed Group of answer choices Stop Class End Class Final Class Final Class
Each class can inherit the base class ________________ Group of answer choices With each class using different inheritance only With same type of inheritance Independently with private inheritance only Independently using any inheritance Independently using any inheritance
Which class constructor is called first when an object of derived class is created? Group of answer choices Firstly created derived class constructor Base class constructor Derived class constructor Last created derived class constructor Base class constructor
All the classes must have all the members declared private to implement multilevel inheritance. Group of answer choices True False False
Created by: user-1863747
 

 



Voices

Use these flashcards to help memorize information. Look at the large card and try to recall what is on the other side. Then click the card to flip it. If you knew the answer, click the green Know box. Otherwise, click the red Don't know box.

When you've placed seven or more cards in the Don't know box, click "retry" to try those cards again.

If you've accidentally put the card in the wrong box, just click on the card to take it out of the box.

You can also use your keyboard to move the cards as follows:

If you are logged in to your account, this website will remember which cards you know and don't know so that they are in the same box the next time you log in.

When you need a break, try one of the other activities listed below the flashcards like Matching, Snowman, or Hungry Bug. Although it may feel like you're playing a game, your brain is still making more connections with the information to help you out.

To see how well you know the information, try the Quiz or Test activity.

Pass complete!
"Know" box contains:
Time elapsed:
Retries:
restart all cards