Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Design Forum (formerly called the Flexible Java Forum) made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
> Could you explain to me the logic of the output as given by the foll. program : (I am terribly confused by private Circle c1=new Circle(100); line - When is it executed ???) > class Shape { > class Circle extends Shape { > public class rss extends Shape { The statement: private Circle c1=new Circle(100); is executed when your main() method instantiates the bv
Replies: |
Sponsored Links
|