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
Which programming language is best in future?
What is stringwriter?
What methods are used to get and set the text label displayed by a button object?
When parseint method can be used?
Explain thread life cycle in java?
What is the flag in java?
How to perform linear search in java?
Can a class declared as private be accessed outside it’s package?
What are latest features introduced with java 8?
How does finally block differ from finalize() method?
how its run?
Give me some null interfaces in java?
What is string data?
How do you declare an empty string?
What is an example of character?