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 |
Explain your academic project?
2 Answers Accenture, Levonsys, SDF, TCS, Tech Mahindra,
You can create a string object as string str = “abc”; why cant a button object be created as button bt = “abc”;? Explain
What java is used for?
how to java plateform independent?
Explain Connection Pooling?
How does linkedlist work in java?
Explain the difference between collection api and stream api in java8?
Give me example of derived data types.
what is webservices?
What is multiple inheritance? Is it supported by java?
How do you access command-line arguments within the code?
0 Answers Flextronics, Hexaware,
Can an abstract class be a final class?