public with sharing class Sample1 {
    public Sample1() {
System.debug('Hello World');
    }
}