This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Java in General and the fly likes Is it possible for us to create a sub class object by calling super class constructor Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Is it possible for us to create a sub class object by calling super class constructor" Watch "Is it possible for us to create a sub class object by calling super class constructor" New topic
Author

Is it possible for us to create a sub class object by calling super class constructor

naveen maddala
Greenhorn

Joined: Feb 03, 2008
Posts: 23
Hi i am naveen i am new to this forum.Last week i have attended for one interview in that they asked me that is it possible for us to a create sub class object by calling super class constructor.If any body nows this answer please reply to me.
thanks,
naveen.
[ February 03, 2008: Message edited by: naveen maddala ]
Nicholas Jordan
Ranch Hand

Joined: Sep 17, 2006
Posts: 1282
This belongs in Java in General (beginner) - answer is basically yes, but you need to do some more studying before applying for a job to write java.


"The differential equations that describe dynamic interactions of power generators are similar to that of the gravitational interplay among celestial bodies, which is chaotic in nature."
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Is it possible for us to create a sub class object by calling super class constructor
 
Similar Threads
downcasting or upcasting of ref variable
when can you override
Casting of Reference
init blocks problem
Regarding explicit casting: