Account application package com.ack.learning.examples.account; public class AccountApplication { public static void main( String[] args ) { DepositAccount acc = new DepositAccount(); System.out.println( acc.getName() ); } }