Hello Friends,
I have some basic queries as follows.
1.Why is the syntax of main()is always public static void main(). Please explain importance of each keyword separately.
2.In
Java ,there are no pointers. So what is alternative to pointers ?
How can we implement linked list ? Please explain with example.
3. What is different between Error & Exception ? When each of them should be used ?
4.
Thread can be created by
a) extending Thread class or
b) by implementing runnable interface
Which is the best way to create thread ? Why ?
Many thanks in advance. I am looking forward for your much needed help.
Please reply ASAP.
Regards,
Somesh.