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.
A static member function can access only the names of static members, enumerators, and nested types of the class in which it is declared 01 class X{ 02 public: 03 int b; 04 static int a; 05 enum mode{a1,a2,a3}; 06 static int inc() 07 { 08 return a1; // this is allowed since it is of enum type 09} 10 X(){}; 11};