Q:
Why Java is Partially OOP language?
belongs to collection: OBJECT ORIENTED PROGRAMMING OOPS CONCEPT AND FEATURES MCQ
OBJECT ORIENTED PROGRAMMING OOPS CONCEPT AND FEATURES MCQ
- Which was the first purely object oriented programming language developed?
- Which of the following best defines a class?
- Who invented OOP?
- What is the additional feature in classes that was not in structures?
- Which is not feature of OOP in general definitions?
- Pure OOP can be implemented without using class in a program. (True or False)
- Which Feature of OOP illustrated the code reusability?
- Which language does not support all 4 types of inheritance?
- How many classes can be defined in a single program?
- When OOP concept did first came into picture?
- Why Java is Partially OOP language?
- Which concept of OOP is false for C++?
- Which header file is required in C++ to use OOP?
- Which of the two features match each other?
- Which feature allows open recursion, among the following?
- Which of the following is not type of class?
- Class is pass by _______
- What is default access specifier for data members or member functions declared within a class without any specifier, in C++ ?
- Which is most appropriate comment on following class definition :
- Which is known as generic class?
- Size of a class is :
- Which class can have member functions without their implementation?
- Which of the following describes a friend class?
- What is scope of a class nested inside another class?
- State True or False. Class with main() function can be inherited
- Which among the following is false, for member function of a class?
- Which syntax for class definition is wrong?
- Which of the following pairs are similar?
- Which among the following is false for class features?
- Instance of which type of class can’t be created?
- Which definition best describes an object?
- How many objects can be declared of a specific class in a single program?
- Which among the following is false?
- Which of the following is incorrect?
- The object can’t be:
- What is size of the object of following class (64 bit system)?
- Functions can’t return objects. State True or False
- How members of an object are accessed?
- If a local class is defined in a function, which of the following is true for an object of that class?
- Which among the following is wrong?
- Object declared in main() function:
- When an object is returned___________
- Which among the following is correct?
- Which among following is correct for initializing the class below?
- Object can’t be used with pointers because they belong to user defined class, and compiler can’t decide the type of data may be used inside the class. State True or False
- Which feature of OOP indicates code reusability?
- If a function can perform more than 1 type of tasks, where the function name remains same, which feature of OOP is used here?
- If different properties and functions of a real world entity is grouped or embedded into a single element, what is it called in OOP language?
- Which of the following is not feature of pure OOP?
- Which among the following doesn’t come under OOP concept?
- Which feature of OOP is indicated by the following code?
- Which feature may be violated if we don’t use classes in a program?
- How many basic features of OOP are required for a programming language to be purely OOP?
- The feature by which one object can interact with another object is:
- ___________ underlines the feature of Polymorphism in a class
- Which feature in OOP is used to allocate additional function to a predefined operator in any language?
- Which among doesn’t illustrates polymorphism?
- Exception handling is feature of OOP. State True or False
- Which among the following, for a pure OOP language, is true?
- OOP provides better security than POP:
- Which among the following best describes polymorphism?
- What do you call the languages that support classes but not polymorphism?
- Which among the following is the language which supports classes but not polymorphism?
- If same message is passed to objects of several different classes and all of those can respond in a different way, what is this feature called?
- Which class/set of classes can illustrate polymorphism in the following code:
- Which type of function among the following shows polymorphism?
- In case of using abstract class or function overloading, which function is supposed to be called first?
- Which among the following can’t be used for polymorphism?
- What is output of the following program?
- Which among the following can show polymorphism?
- Find the output of the program:
- Polymorphism is possible in C language
- Which problem may arise if we use abstract class functions for polymorphism?
- Which among the following is not true for polymorphism?
- If 2 classes derive one base class and redefine a function of base class, also overload some operators inside class body. Among these two things of function and operator overloading, where is polymorphism used?
- Which among the following best describes encapsulation?
- If data members are private, what can we do to access them from the class object?
- While using encapsulation, which among the following is possible?
- Which feature can be implemented using encapsulation?
- Find which of the following uses encapsulation?
- Encapsulation helps in writing ___________ classes in java
- Which among the following should be encapsulated?
- How can Encapsulation be achieved?
- Which among the following violates the principle of encapsulation almost always?
- Which among the following would destroy the encapsulation mechanism if it was allowed in programming?
- Which among the following can be a concept against encapsulation rules?
- Consider the following code and select the correct option:
- Consider the code and select the wrong choice:
- Encapsulation is the way to add functions in a user defined structure
- Using encapsulation data security is ___________
- Which among the following best defines abstraction?
- Hiding the implementation complexity can:
- Class is _________ abstraction
- Object is ________ abstraction
- Abstraction gives higher degree of ________
- Abstraction can apply to:
- Which among the following can be viewed as combination of abstraction of data and code
- Abstraction principle includes___________
- Higher the level of abstraction, higher are the details
- Encapsulation and abstraction differ as:
- In terms of stream and files________
- If two classes combine some private data members and provides public member functions to access and manipulate those data members. Where is abstraction used?
- A phone is made up of many components like motherboard, camera, sensors and etc. If the processor represents all the functioning of phone, display shows the display only, and the phone is represented as a whole. Which among the following have highest level of abstraction?
- Which among the following is not a level of abstraction:
- Using higher degree of abstraction __________
(a).It supports usual declaration of primitive data types
need an explanation for this answer? contact us directly to get an explanation for this answer