Here's the recent articles submitted by pragna devi
Articles By pragna devi
What Is The Static Keyword In Java
Submitted as: KT brain
Hi Friends, In this topic we will discuss the use of static keyword in Java. Every Java Programmer including me also in begining stage first thinking about why main
method is static? why because object is not required to call static method if it were non-static method, jvm create object first then call main() method that will lead the problem of extra memory allocation.So it must be be accessible for an application to run , before any instantiation takes place.(read
entire article)
View : 525 Times
Category : Computer Programming