new Solution().method3(); Does it create a new Object? But any object need to have a reference ... Have we study it yet? googled so its the same as Solution refname = new Solution(); refname.method3(); but it runs only once and dies after?