public class PK_vfcontroller { // Instance variable to hold the list of contacts public Contact contacts {get; set;} // Constructor public PK_vfcontroller() { // Query to retrieve all contacts contacts = [SELECT Name FROM Contact LIMIT 1]; } }