What is the difference between delete and delete[]
Answer Posted / hr@tgksolutions.com
• delete: Frees memory allocated for a single object.
• delete[]: Frees memory allocated for an array of objects.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do you read and print a string in java?
What do you mean by buffering?
Explain the usage of this with constructors?
What is module in oop?
How do I know if java is installed?
Can we convert integer to string in java?
What does indexof return in java?
How to perform merge sort in java?
How transient variable is different from volatile variable?
How is a variable stored in memory?
What are the advantages of exception handling?
What is difference between stringbuffer and string?
Is string a datatype?
How can we create objects if we make the constructor private ?
What are user defined exceptions?