Which is a named memory location assigned a value by the program?
variable
literal
identifier
None of the mentioned
Answer and explanation
No explanation is available for this question yet.
ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
7 practice sets · Page 1 of 1
Which is a named memory location assigned a value by the program?
variable
literal
identifier
None of the mentioned
No explanation is available for this question yet.
Which of the following is called as 'Compilation unit'?
Object file
Byte code
Source file
All of the mentioned
No explanation is available for this question yet.
Java Compiler translates the source code into?
Machine code
Assembly code
Byte code
JVM code
Java program is converted into 'byte code' which makes it easier to run on wide variety of environments. Only the run-time package JVM has to be implemented for each platform.
Which of the following is/are advantage of using object oriented programming?
Code Reusability
Can create more than one instance of a class without interference
Platform independent
All of the mentioned
No explanation is available for this question yet.
Which of the following approach is followed by Object Oriented Language during the execution of a program?
Bottom up approach
Top down approach
Both a and b
None of the mentioned
Bottom up approach begins with details and moves to higher conceptual level there by reducing complexity and making the concept easier to understand.
Which of the following Paradigm is followed by Object Oriented Language Design?
Process-Oriented Model
Data Controlling access to code.
Both a and b
None of the mentioned
Object-oriented programming organises a program around its data(that is, objects) and a set of well-defined interfaces to that data.
Which of the following approach help us understand better about Real time examples, say Vehicle or Employee of an Organisation?
Procedural approach
Object Oriented approach
Both a and b
None of the mentioned
Object Oriented Programming supports the concept of class and object which help us understand the real time examples better. Vehicle is defined to be a class. Car, truck, bike are defined to be objects of the class, Vehicle.