Bug with the delete keyword :-
It deletes the elements value but never deletes the memory occupied that's why length is the same
It deletes the elements value but never deletes the memory occupied that's why length is the same
If the index is not available we will get -1 as an index (written interview question )
Forwarded from Java Hyd Team
Which topic you want to learn from scratch
Anonymous Poll
56%
Array
49%
Collection
44%
Multi threading
42%
Exception handling
40%
Strings
28%
Interfaces n abstract methods
40%
Java 8
Forwarded from Codeerror
Programmer Presents 2022
http://www.i-programmer.info/news/99-professional/15884-programmer-presents-2022.html
As the holiday season approaches, what can you get the programmer who has everything? How about some festive wear? A garment with a geeky message might seem predictable, but we found several that made us chortle, including Clippy making a comeback on a really ugly sweater.
Read more... (http://www.i-programmer.info/news/99-professional/15884-programmer-presents-2022.html)
http://www.i-programmer.info/news/99-professional/15884-programmer-presents-2022.html
As the holiday season approaches, what can you get the programmer who has everything? How about some festive wear? A garment with a geeky message might seem predictable, but we found several that made us chortle, including Clippy making a comeback on a really ugly sweater.
Read more... (http://www.i-programmer.info/news/99-professional/15884-programmer-presents-2022.html)