Javarevisited
Published in

Javarevisited

All about static and final keywords

Here over this article let's explore the keywords static and final. It is able to create methods or variables using these keywords. We will discuss all the advantages and disadvantages of these keywords.

Photo by David Emrich on Unsplash

What is a static keyword?

In Java, if we want to access class members, we must first create an instance of the class then we can call the class members by…

--

--

--

A humble place to learn Java and Programming better.

Recommended from Medium

CS373 Spring 2020: Long Do

A Smart Programmer Understands The Problems Worth Fixing

Why did we allow the Big Tech to ruin our profession?

Introducing Dark Mode in Vookmark Android app

Can you hear that bug? Makers Day 2

Share your Library as a dependency

Native vs PWA apps — A complete Guide — TekRevol

5 examples of what you can do with just CSS

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Anish Antony

Anish Antony

Fullstack Developer | Blogger | Experience on Java, Python, React, Angular, Golang | http://www.behindjava.com

More from Medium

How to shuffle a deck of cards

How to improve quality of the automated Java tests using Pitest

Spring Boot Caching From Scratch

Guide to AtomicInteger in Java