What is the difference between delete and delete[]
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
• 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 |
Answer / glibwaresoftsolutions
• 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 |
• 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 |
how to call One constructor from another;
What are static initalizers in java ?
What is an array and a vector? How they different from each other?
What do you understand by java?
How to use string tokenizer class.
Explain the hierarchy of java exception classes?
What Method and class used for Connection pooling ?
Can static methods be inherited?
How does linkedlist work in java?
Which is better ascii or unicode?
What is the concatenation operator in java?
What is method overloading and method overriding?