CS8392 Important Questions Object Oriented Programming
CS8392 Important Questions Object Oriented Programming Regulation 2017 Anna University free download. Object Oriented Programming Important Questions CS8392 pdf free download.
Sample CS8392 Important Questions Object Oriented Programming:
1 What are the OOP Principles?
The principles of object-oriented programming is Class inheritance , interface implementation, abstraction of data and behavior, encapsulation of data and class implementation, polymorphism and virtual methods.
2 What are the four cornerstones of OOP?
Abstraction: Can manage complexity through abstraction. Gives the complete overview of a particular task and the details are handled by its derived classes. Example : Car. OOP Important Questions
Encapsulation: Nothing but data hiding, like the variables declared under private of a particular class is accessed only in that class and cannot access in any other the class.
Inheritance: Is the process in which one object acquires the properties of another object, ie., derived object.
Polymorphism: One method different forms, ie., method overriding and interfaces are the examples of polymorphism. CS8392 Important Questions Object Oriented Programming
3 What are the features of Object Oriented Programming?
Emphasis is on data rather than procedure.
Programs are divided into objects.
Data structures are designed such that they characterize the objects.
Functions that operate on the data of an object are tied together.
Data is hidden and cannot be accessed by external functions.
Objects may communicate with each other through functions.
New data and functions can easily be added whenever necessary.
Follows bottom-up approach.
4 What are the features of Java Language? CS8392 Important Questions Object Oriented Programming
The features of Java Language are Simple, Object-Oriented, Portable, Platform independent, Secured, Robust, Architecture neutral, Dynamic, Interpreted, High Performance, Multithreaded and Distributed.
5 How Java supports platform independency?
The meaning of platform independent is that, the java source code can run on all operating systems. a compiler is a program that translates the source code for another program from a programming language into executable code.
This executable code may be a sequence of machine instructions that can be executed by the CPU directly, or it may be an intermediate representation that is interpreted by a virtual machine. This intermediate representation in Java is the Java Byte Code. CS8392 Important Questions Object Oriented Programming
It is the Bytecode that makes it platform independent. This adds to an important feature in the JAVA language termed as portability. Every system has its own JVM which gets installed automatically when the jdk software is installed. For every operating system separate JVM is available which is capable to read the .class file or byte code. An important point to be noted is that while JAVA is platform-independent language, the JVM is platform-dependent CS8392 Important Questions Object Oriented Programming
Subject name | OBJECT ORIENTED PROGRAMMING |
Semester | 3 |
Subject Code | CS8392 |
Regulation | 2017 regulation |
CS8392 Important Questions Object Oriented Programming Click Here To Download
CS8392 Important 16 Mark Questions Object Oriented Programming
CS8392 Syllabus OBJECT ORIENTED PROGRAMMING
CS8392 Notes Object Oriented Programming
CS8392 Question Bank Object Oriented Programming