04-24-2011, 09:24 PM
1) A JVM must be installed on the host machine to run the class file.
2) “toString()” is used to display state of an object in string format, it is often used when we want to see the current values/state of data members of object
3) Movie m=new Movie(); it is so that we are calling the constructor of Movie class. When ever a new object is to be created constructor of the class is called.
2) “toString()” is used to display state of an object in string format, it is often used when we want to see the current values/state of data members of object
3) Movie m=new Movie(); it is so that we are calling the constructor of Movie class. When ever a new object is to be created constructor of the class is called.
0300-9520262
Get solution in 24 hour |cpmputer & internet
mileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
