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
i''ve done an application that calculates simplex methods i need to add big m method can any one help me?

What is static in java? Static means one per class, not one for each object no matter how many example of a class might exist. This means that you can use them without making a

Java Virtual Machine & Runtime Environment Basic Concept When you write a program in C++ it's called source code. C++ compiler converts this source code into the machine c

(Package Inheritance Hierarchy) Package-delivery services, such as FedEx®, DHL® and UPS®, offer a number of different shipping options, each with specific costs associated. Create

Obtain ONE of the sample applets from Sun Microsystems' Applets page, or any other source for free Java applets you may wish to use. Test the applet, and link it to Part 2 of your

You are to write a program name arrayScaling.java that will randomly generate 5000 integer number raging from 1 - 49 and place them in an array. 1.  The program will scale thi

We are in need of Programmer In search of someone who know java well enough to work under my in-house programmer and take work form him to keep the project moving. The project d

A bean factory is fine to easy applications, but to take benefit of the full power of the Spring framework, you may require to move up to Springs more advanced container, the appli

Class diagram technique is vital within Object Oriented functions. Class diagrams illustrate the kinds of objects in the system and the several static relationships among them. Cl

Can a human doctor be replaced through an Expert System? Give reasons to support your answer. Expert System is a computer system that simulates the knowledge and expertise of a