Skip to content

Paper II · Unit 3: Programming Languages and Computer Graphics

Object Oriented Programming

Object Oriented Programming is a topic inside Unit 3 (Programming Languages and Computer Graphics) of UGC NET Computer Science and Applications, Paper II (code 87). GateIQ has published 37 questions classified under this topic — 11.6% of everything recorded in this unit, and 36 of them carry a written solution.

What this topic covers

Class, Object, Instantiation, Inheritance, Encapsulation, Abstract Class, Polymorphism

Syllabus wording above is the official heading for this topic; the question counts are GateIQ’s own classification of its published archive.

Try Object Oriented Programming PYQs free

Attempt the 5 most recent published questions on this topic right here, with the published answer and explanation after each check. No account is needed and nothing is saved. Practice tracking and analytics are part of UGC IQ.

0 of 5 checked
  1. 1Previous year question

    What is the output of the following JAVA program?

    public class Good {
        private int m;
        public Good (int m){this.m=m;}
        public Boolean equals (Good n) {return n.m==m;}
        public static void main (string args[]){
            Good m1 = new Good(22);
            Good m2 = new Good(22);
            Object s1 = new Good(22);
            Object s2 = new Good(22);
            System.out.println(m1.equals(m2));
            System.out.println(s1.equals(s2));
            System.out.println(m1.equals(s2));
            System.out.println(s1.equals(m2));
        }
    }
    Choose an option to check it.
  2. 2Previous year question

    In Java, which of the following statements is/are TRUE?

    S1: The ‘final’ keyword applied to a class definition prevents the class form being extended through derivation

    S2: A class can only inherit one class but can implement multiple interfaces

    S3: Java permits a class to replace the implementation of a method that it has inherited. It is called method overloading

    Code:

    Choose an option to check it.
  3. 3Previous year question

    Which of the following statements is/are TRUE regarding JAVA?

    1. Constants that cannot be changed are declared using ‘static’ keyword.
    2. A class can only inherit one class but can implement multiple interfaces.
    Choose an option to check it.
  4. 4Previous year question

    Abstraction and encapsulation are fundamental principles that underlie the object oriented approach to software development. What can you say about the following two statements?

    1. Abstraction allows us to focus on what something does without considering the complexities of how it works.
    2. Encapsulation allows us to consider complex ideas while ignoring irrelevant detail that would confuse us.
    Choose an option to check it.
  5. 5Previous year question

    Which of the following statement(s) with regard to an abstract class in JAVA is /are TRUE ?

    1. An abstract class is one that is not used to create objects
    2. An abstract class is designed only to act as a base class to be inherited by other classes
    Choose an option to check it.

32 more questions on Object Oriented Programming

These 5 are free to try without an account. The rest of the published questions on Object Oriented Programming are part of UGC IQ: see what it includes, or create an account to get started.

Object Oriented Programming: questions people ask

How many UGC NET Computer Science questions are asked on Object Oriented Programming?

GateIQ has published 37 UGC NET Computer Science previous year questions on Object Oriented Programming, and 36 of them carry a written solution. That is 11.6% of the questions in Unit 3, Programming Languages and Computer Graphics.

Which unit of UGC NET Computer Science Paper 2 is Object Oriented Programming in?

Object Oriented Programming is a topic of Unit 3, Programming Languages and Computer Graphics, in Paper II (Computer Science and Applications, code 87).

Can I practise Object Oriented Programming PYQs for free?

Yes. The 5 most recent published questions on this topic are free on this page with no signup, and each shows the published answer with its explanation. The full archive, practice tracking and analytics are part of UGC IQ.

Related topics in Unit 3

Full syllabus · Paper II overview