ADVANCED TOPICS IN COMPILER DESIGN
CODE GENERATION FOR OBJECT ORIENTED LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Portable or platform-independent
|
|
Object-Oriented Design (OOD)
|
|
Object-oriented Programming (OOP)
|
|
Console
|
Detailed explanation-1: -Encapsulation is one of the core concepts in object-oriented programming and describes the bundling of data and methods operating on this data into one unit.
Detailed explanation-2: -Object-oriented programming (OOP) is a programming paradigm based on the concept of “objects", which can contain data and code. The data is in the form of fields (often known as attributes or properties), and the code is in the form of procedures (often known as methods).
Detailed explanation-3: -Object-oriented programming is a programming paradigm, or classification, that organizes a group of data attributes with functions or methods into a unit, known as an object.
Detailed explanation-4: -Structured vs Object Oriented Methodology. Structured design breaks a system down into functional modules. Each module can be described as having inputs, processing, and outputs. Structured de sign is a top-down decomposition of system functionality, while object oriented design focuses on system behavior.
Detailed explanation-5: -This is the basic unit of object-oriented programming. That is both data and function that operate on data are bundled as a unit called an object.