Newsletter sign-up
View all newsletters

Enterprise Java Newsletter
Stay up to date on the latest tutorials and Java community news posted on JavaWorld

JavaWorld Daily Brew

why only dynamic allocation?



Java has evolved from c++.C++ has got both dynamic and static memory allocation i.e. objects can be made without using new keyword in c++.My query is why static object creation removed in java and only oject creation using new is there?