Answer:
c. StringBuilder
Explanation:
An alternative to the String class would be the StringBuilder Class. This class uses Strings as objects and allows you to mix and match different strings as well as adding, removing, implementing, and modifying strings themselves as though they were similar to an array. Unlike the string class StringBuilder allows you to modify and work with a combination of strings in the same piece of data as opposed to having various objects and copying pieces which would take up more memory.
Answer:
Option A is the correct answer choice for the above question.
Explanation:
The computer system needs intercommunication which is done inside the processor to process the task given by the user. There are two types of model is used for intercommunication--
- Message passing and
- Shared memory
The difference between two is that message passing passes the message on two points at a single unit of time whereas shared memory simultaneous shares the multiple messages. That's why shared memory is faster than message passing.
- Hence option A is the correct choice because it also refers to the above concept. While the other is not correct because--
- Option B states that message passing is faster than shared memory which is wrong.
- Option C states that message passing is used for large data but shared memory is used for large data.
- Option D states that shared memory is unavailable in some processor which is wrong.
All of the answers above are correct