answersLogoWhite

0


Best Answer

Even in languages where string is a type, it is still an array of characters. A computer can not represent a string as a primitive type.

That said, the difference between using the programming language string object or an array or list if characters will differ based on language. Though in most languages which offer a string type, it would mean that you'd have to implement all the functions provided for you by the type on your own. A string object class simply provides a series of utility functions to manipulate a character array within.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the different issues if a string is implemented as a primitive or as a character array?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Why test automation is required?

To save money and time. This is done by automating test cases which need to be run over and over again with a different set of data/environment/OS etc. thanks Lathif Lamba Interestingly, automation benefits are often not what you might expect. Smart managers will use it for the mundane testing, and then rather than layoff testers, allowing them to perform more exploratory testing. If well implemented, it can detect subtle issues, like counters that are valid with values of 1 or greater, generating issues when they occasionally reset to 0. It will identify object property naming issues that are not visible to the user. It can even track when links have taken you to from the test site to the live site. One approach to estimated ROI savings can be calculated by the amount of money that would have been paid to a warm body to perform the testing manually, plus the estimate of the cost to the company to pacify the customer had the defect reached them. If poorly implemented, they become projects that require more maintenance than execution, losing buy-in, and eventually failing.


How to improve memory issues and performance of java application?

What are the memory issues you are having? Where is the performance problem? Describe your problem!


Why java is called purely object oriented language?

Java is called a "pure" object-oriented language because it requires that all code written in it be wrapped in objects. This differs from the more common meaning of "pure" object-oriented (everything is an object) in that Java has primitive types and primitive operations on them - int, char, double, float, long and addition, subtraction, multiplication, division. A real example of a PURE object-oriented language is Smalltalk, one of Java's predecessors.


What are cross-cutting issues in academia?

its a loop


What are the Social issues relating genetic engineering?

there are many issues dealing with genetic engineering, most people who go through genetic therapy come out with a disease, when they didn't before

Related questions

What is the definition of an electoral competition model?

An electoral competition model can be implemented on the computer to look at important issues between candidates. Then, it can be determined who will have the advantage based on their stances on issues.


How was Athens' government structuerd?

The assembly of male citizens met fortnightly to consider and decide on issues, which were implemented by the Council.


The framers could not forsee all of the specific issues that would arise once the federal system was implementedl. How did they nevertheless make procision for addressing these issues?

The framers put clauses in the Constitution to allow for amendments to be made if specific issues should arise once the federal system was implemented. They also allowed for parts of the Constitution to be interpreted in different ways.


How Athenian democracy different from democracy in the world today?

It was direct democracy - the citizens met in fortnightly assembly and decided on issues, which decisions were implemented by the council. Today's democracies are representative democracies - citizens elect members of parliament to direct government.


How was Athenians democracy different from democracy in the world today?

It was direct democracy - the citizens met in fortnightly assembly and decided on issues, which decisions were implemented by the council. Today's democracies are representative democracies - citizens elect members of parliament to direct government.


Where can you find environmental issues?

On the internet. Go to google and type in environmental issues and you will receive different sites with different environmental issues out there


What is the proper salutation for an official mail?

Dear Hari, According fropm previous mail from you that PWI issues will be implemented on tasklev employees but today we are finding that that PWI issues are fixed in superate task this is not acceptable


What do the Roman Republic and the Greek democracies have in common?

Each had assemblies of the citizens which made decisions on significant issues, which decisions were implemented by the council/senate.


How are personal troubles different from public issues?

personal troubles occurs within the character of the individual and the choice of the individuals relations with others. it is private public issues are matter that go beyond local environments of the individual and the range of the persons inner life


Is insecure a character trait?

Insecurity is typically considered a temporary emotional state rather than a permanent character trait. It can be caused by various factors and experienced by individuals at different points in their lives. Addressing the underlying issues that contribute to insecurity can help improve a person's overall well-being.


Does wealth change the character of a human being?

No, but it can change his behaviour. Character, on its deepest sense is linked to hereditary issues, and can't be modified.


What comic book character has appeared in the most issues?

Wolverine for Marvel Batman for DC