Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > Java Basics
Java Basics General beginning Java language questions that don't fit in one of the more specific forums. Please specify what version.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old October 9th, 2006, 02:21 PM
Authorized User
Join Date: Dec 2005
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default Doubt in clone Method of Object Class

Dear Friends,

             we know that clone Method will create a bitwise copy of an object

and the constructor is not called .

     if the constructor is not called ,then how the memory for that object is

     allocated ?
Old October 12th, 2006, 03:29 PM
Friend of Wrox
Join Date: Jan 2006
Posts: 198
Thanks: 0
Thanked 0 Times in 0 Posts

Isn't it just popped off the heap, just like instance variables?

Jon Emerson

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about the clone() method ianni Java Basics 1 December 26th, 2007 05:14 AM
doubt in Window.open method rajatake ASP.NET 2.0 Professional 1 March 9th, 2007 05:39 PM
doubt in Window.open method rajatake .NET Framework 2.0 1 March 9th, 2007 05:31 PM
Method calls within same class w/Interface gmontanaro C# 0 April 6th, 2006 05:44 PM
urgent doubt between class & structure lgeetha C# 5 February 24th, 2005 09:27 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.