What is the difference between delete and delete[]
Answer Posted / 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 |
Post New Answer View All Answers
Define jit compiler?
Which programming language is most secure?
How to retrieve data from database in java using arraylist?
What is visibility mode?
Define inheritance?
What is close method? How it's different from Finalize & Dispose?
Differentiate between == and equals().
What is stringwriter?
Explain working of call by reference function invoking.
What is the collection interface?
Should a main method be compulsorily declared in all java classes?
What are different types of classloaders?
How we create object in copy constructor?
How do I remove a character from a string in java?
Is sizeof a preprocessor?