Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How can u increase the heap size in the memory?

1013


What are the different access modifiers available in java?

1042


Which class is the superclass for all the classes?

1021


What is the list interface in java programming?

1112


What is the difference between method and means?

1074


Is it correct to say that due to garbage collection feature in java, a java program never goes out of memory?

1018


What is the purpose of declaring a variable as final?

965


Differentiate jar and war files?

1039


How objects are stored in java?

1033


What is the char data type?

994


Which package is always imported by default?

1096


Why is the singleton pattern considered to be an anti pattern?

881


How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters?

1096


How many bytes is a unicode character?

998


How to make a write-only class in java?

1056