Computer Science, asked by ekkavijay702, 3 months ago

Explain all the properties of java.​

Answers

Answered by Srikanthnani143
2

Explanation:

You use properties to provide access to a global variable, which is also called a field. The best practice is to always make fields private and then rely on special getter and setter methods to access them. The combination of field, getter, and setter is a property in Java.

Properties is a subclass of Hashtable. It is used to maintain lists of values in which the key is a String and the value is also a String. The Properties class is used by many other Java classes. ... This variable holds a default property list associated with a Properties object.

Answered by iltefathalam
1

Answer:

Properties is a subclass of Hashtable. It is used to maintain lists of values in which the key is a String and the value is also a String.

The Properties class is used by many other Java classes. For example, it is the type of object returned by System.getProperties( ) when obtaining environmental values.

Properties define the following instance variable. This variable holds a default property list associated with a Properties object.

hope it's correct and helpful

Similar questions