Public class defaultvalue{
Public string strDefault {get; set;}
public defaultvalue(){
strDefault = 'Test Default';
}
}
Important : Hit Kudos if this provides you with useful information and if this is what you where looking for then please mark it as a solution for other benefits.
Hi,
Below is the sample Example for your requirement.
Visualforce Page:
Apex Class:
Important :
Hit Kudos if this provides you with useful information and if this is what you where looking for then please mark it as a solution for other benefits.
Thank You,
Hitesh Patel
SFDC Certified Developer & Administrator