Java Programming Tutorials static variables and methods

Published: 12 November 2021
on channel: T V Rao
52
like

One of the most important topics in java programming language - static

To access static content, one need not create instance of the class

static methods / inner static classes can not access non-static data

if a variable is declarecd as static, only single copy of that variable is created in memory, though, multiple objects of the class are created

static variable is generally used to get the count of number of objects created.

all the above points are demonstrated in this video. Do watch the same


On this page of the site you can watch the video online Java Programming Tutorials static variables and methods with a duration of hours minute second in good quality, which was uploaded by the user T V Rao 12 November 2021, share the link with friends and acquaintances, this video has already been watched 52 times on youtube and it was liked by like viewers. Enjoy your viewing!