answersLogoWhite

0

by making that class final

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

Which classes are mutable and nonmutable?

An immutable class is any data storage class in which the data cannot be changed. The most common example of this in Java is the String class.


What is string buffer in java?

StringBuffer is java class available in java.lang package which provides mutable String object where String is immutable class. The methods of this class like reverse(), append(),insert() gives facility to insert data of the same object.


What mutable and immutable in java and example program?

lmutable object


How an exception subclass is created in java explain?

We can create a exception sub class by extending Exception class available in java


What is classes in java?

class is a blueprint which does not have its own existence but it can pass all of its feature to its child classes.


How you make a project in java?

You create a text file with a .java extension. Then you put a proper class definition.


Program in Java to create file and copy content of an existing file to it?

You need to use File class to create file in java and than Reader class implementation such as BufferedReder to read content.


What class can you extend to create a simple class that provides remote methods using RMI in java?

Remote


What is mutable in java?

It means that something can be changed after it is created. Immutable means that it can't be changed.


For what purpose constructors are used in Java?

Constructors are used to create the instance of a class.


What are the functions of an interface in Java?

To create an abstraction or a blueprint for a class to implement later.


Where can one watch immutable objects?

An immutable object is classed in Java programming as an object that cannot be changed after it is made. YouTube has videos that can be viewed on this subject as well as Vimeo.