Java revise

1) Scanner scan = new Scanner(System.in);
scan.close(); –> close the stream opened

2) difference between Stringbuffer and Stringbuilder

3) find duplicate elements in an array.

4) Solving tower of Hanoi problem using an algorithm

 

 

Eclipse useful shortcuts ===>

Ctrl + Shift + T  ==> Open Type in Hierarchy

Ctrl + Shift + U  ==> Find occurrences of expression in current file

Ctrl + Alt + H     ==> Open Call Hierarchy

Ctrl + Shift + R  ==> Open Resource (file, folder or project)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s