wrong statement about c++
a)code removably
b)encapsulation of data and code
c)program easy maintenance
d)program runs faster
Answers were Sorted based on User's Feedback
Answer / gucman
I suppose it should be a) Code reusability not
removability :)
So the wrong statement is d) program runs faster - c++ is
not faster than say C, pascal or other compiled code (it
has however very good compilers that make very aggressive
optimisations so it may look like it is faster)
a) code reusability - it's true as you can inherit the
class and use its properties and functions again modifying
it to your needs in a derived class
b) encapsulation of data and code - you can declare member
variables (data) and member functions (code) as private,
protected to encapsulate it and forbid its use outside
class instances / instances of inherited classes
c) program easy maintenance - it is true (or at least
should be true) for every oo language. If you are unsure
about this try maintenance large C program
Is This Answer Correct ? | 10 Yes | 1 No |
What is difference between class and structure in c++?
What is the difference between a template and a macro?
How can you quickly find the number of elements stored in a static array?
Describe the advantages of operator overloading?
What are vectors used for in c++?
What is c++ and its features?
Can a Structure contain a Pointer to itself?
What is the difference between interpreters and compilers?
what is software cycle? What is a mission critical system ? What is the important aspect of a real-time system ? Explain the difference between microkernel and macro kernel. Give an example of microkernel.Why paging is used ? Which is the best page replacement algo and Why ? What is software life cycle ? How much time is spent usually in each phases and why Which one do U want to work if selected in Honeywell ? Which are the different types of testing ? What is a distributed system ? Some questions about CSP. Which languages do U know ? What are the differences between Pascal and C. questions from Compiler construction and Lisp. Which are the different computer architecture? What is the requirement in MIMD ? What is the difference between RISC and CISC processors ? Difference between loosely coupled and tightly coupled systems ? What is an open system?
Explain the isa and hasa class relationships.
What is size of a empty class?
7 Answers Microsoft, Tata Elxsi, Wipro,
What is a terminating character in c++?