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
How do you sort words in java?
What are generic methods?
What is thread safe singleton?
What is token in java?
Can a class be private or protected in java?
Explain naming conventions for packages?
What is the purpose of using the java bean?
What do you understand by java virtual machine?
What are java annotations?
What are the main concepts of oops in java?
What are class types in java?
What are white spaces in java?
Difference between character constant and string constant in java ?
What is boolean law?
what is a green thread? : Java thread