class Programming
{
Programming()
System.out.println("Constructor method called.");
}
public static void main(String[] args)
Programming object = new Programming();
No comments:
Post a Comment