Describe the final keyword, JAVA Programming

Describe the final keyword ?

The final keyword is used in various different contexts as a modifier meaning in which what it modifies cannot be changed in a few sense.
final classes

You will notice in which a number of the classes in Java library are describe final, e.g.

public final class String

This means this class will not be subclassed, and informs the compiler in which it can perform certain optimizations it or else could not. It also provides some advantages in regard to security and thread safety.

The compiler will not let you subclass any class in which is declared final. You probably won't need or required to declare your own classes final though.

Posted Date: 5/16/2013 2:05:56 AM | Location : United States







Related Discussions:- Describe the final keyword, Assignment Help, Ask Question on Describe the final keyword, Get Answer, Expert's Help, Describe the final keyword Discussions

Write discussion on Describe the final keyword
Your posts are moderated
Related Questions
Conway's Game of Life is a "cellular automaton" that is played on a 2D grid (array) of cells. At the start of the game, an initial configuration is set up in which a number of cell

Whatsapp bulk messenger to unlimited numbers Project Description: Develop a desktop application or script solution to bulk whatsapp sms without getting any block from the wha

Objectives 1. To help you become comfortable with using inheritance and interfaces to construct type hierarchies. 2. To familiarize you with programming from specifications. A


In this assignment you work on a set of tasks with the classes Currency, Money and Bank. Money and Currency You have been given a template for the Currency and Money classes (Lab1.

There is no separate homework this week, but you may complete the exercises ahead of time, in which case you only need to attend for long enough to get your work marked off by your

There is a pebble merchant. He sells the pebbles, that are used for shining the floor. His main duty is to take the length of the room’s sides. But he sometimes mistakes doing tha

SMTP (Simple Mail Transfer Protocol) permits two mail servers to communicate using a easy language, and gives a step-by-step protocol for exchanging information. SMTP delivers m

Why uploading a web page is important? Describe in 2 - 3 lines? Through only uploading webpage we could place our data so that another can reach up to what we have loaded. Uplo

WHY WE USE JAVA IN PROGRAMMING INSTEAD OF OTHER PROGRAMMING LANGUAGE