Hello Dear,
Please Tell Me What is the static variable In Java ?
Hello Dear,
Please Tell Me What is the static variable In Java ?
Hello, static variables are declared with the static keyword in a class, but outside a method, constructor or a block. It is also known as Class variables. It reduces the memory footprint of the program.
Thanks!
javascript library
There are three types of variables in Java:
Local variable
Instance variable
Static variable
Bookmarks