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 create constants in java?
What is the alternate of 'Inheritance' ?
what is difference between String buffer and String builder?
What is the use of arraylist in java?
how to write a program for chat function using core java
What is a class ?
How many wrapper classes are there in java?
What is the default initialized value of a boolean type variable?
What is diamond operator in java?
How many bits are in a sentence?
What is the use of anonymous inner classes ?
Class c implements interface I containing method m1 and m2 declarations. Class c has provided implementation for method m2. Can I create an object of class c?