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
Is integer immutable in java?
Why do we need data serialization?
Why collection is called framework in java?
What is string substring?
What is difference between call by value and call by reference?
What is a parameter in a function?
What is singletonlist in java?
Is linked list a linear or non-linear data structure?
What are keywords in programming?
Which programming language is most secure?
What are the features of java?
What is a treeset class?
How many types of constructors are used in java?
Can we use static class instead of singleton?
How does linkedlist work in java?