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
What is the difference between arraylist and hashset in java?
What is the static field modifier?
What is the main function in java?
Can constructor be synchronized?
Can we write a class without main method in java?
What is parsing in java?
What is final modifier?
What is replacefirst in java?
What all access modifiers are allowed for top class ?
What is hasnext in java?
What is floor in java?
What is the exception hierarchy in java?
What are serialization and deserialization?
Why char array is favored over string for the storage of passwords?
What is an empty class? What functionality does it offer in Java?