Java System clearProperty() MethodThe clearProperty() method of Java System class removes the system property indicated by the specified key. SyntaxParametersKey - Removes the name of System property Returns
Example 1Test it NowOutput: Before using clearproperty = E:\Practicecorejava\FirstThisDemo\bin;E:\mysql jar file\com.mysql.jdbc_5.1.5.jar After using clearproperty = null Example 2Test it NowOutput: Default Property = E:\Practicecorejava\FirstThisDemo New Property = JavaTpoint
Next TopicJava System
|