I believe the necklace always represented her feeling like a prisoner or a possession. After she was able to tell the story, she felt free, and threw the last of her shackles into the ocean with her true love, Jack.
Answer Wiki. Difference number 1: Public class is a class .Public static void main (string args[]) is a method. 2.Class is an entity which describes the behavior of its objects. Method(or function) is a set of statements executed to give desired result. main() method is the entry point of any application.
Now come to the main point Why main method is static in Java, there are quite a few reasons around but here are few reasons which make sense to me: 1. Since main method is static Java virtual Machine can call it without creating any instance of class which contains main method. 2.hough I understand why main is static in Java and why main is publicI didn't understand the point on making main method void in Java, Why not it could be int or boolean to return whether it ran successfully or not.