Skip to content

Instantly share code, notes, and snippets.

@TheShubhamVsnv
Last active January 17, 2024 15:02
Show Gist options
  • Save TheShubhamVsnv/84cb8bb14a5b4029133991a6cb329e5c to your computer and use it in GitHub Desktop.
Save TheShubhamVsnv/84cb8bb14a5b4029133991a6cb329e5c to your computer and use it in GitHub Desktop.
/*
Final is used with classes, methods, or variables to indicate that they cannot be further extended,
overridden, or modified. For classes, it means no subclassing; for methods, it means no overriding;
for variables, it means they cannot be reassigned.
*/
public final class MyFinalClass {
// This is the final stop!
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment