![]() |
| Home | Tech FAQ | Interview Questions | Placement Papers | Tech Articles | Learn | Freelance Projects | Online Testing | Geeks Talk | Job Postings | Knowledge Base | Site Search | Add/Ask Question |
![]() Related Questions As of now ,what i know abt cloning is that we can make a field to field copy of an object.ie when we As of now ,what i know abt cloning is that we can make a field to field copy of an object.ie when we clone an object,its state as well as a its behaviour is copied to the cloned object.My question is what is the neccesity of it? cant we create another object of the same class? so how does its different from cloned object (that is creating another object of that class rather than being cloned).is there any security issues coupled with this cloned object? And What is the Concrete purpose of Latest Answer : No it won't work.Only one main methods is allowed ... Latest Answer : Interface is a pure(100 %) abstract class. Then why abstract class seperatly? It's the design criteria,For example we are writing one class that has methods implemented which are common to other classes .And some methods are different for ... Tags : Abstract Latest Answer : In singleton class ,only one time the instance wil create.Example....public class Sin{ static Sin s=null; public static void main(String a[]) { create(); create(); ... Latest Answer : padmareddy Wrote: can we acces static vairable with object we can access static variable by using objects also for example see the below program u will ... Latest Answer : Below are three signatures:public final void notify()public final void notifyAll()public final void wait(long timeout) ... Latest Answer : class is a blue print for an object which defines the functionality of an object. class also called the template for an object. ... Latest Answer : another informative thing is;there are 8 wrapper classes in J2EE ... Latest Answer : Please Check with this example programpublic class StaticExam { static int a=10;public static void main(String args[]){System.out.println(" Welcome to static variable testing");StaticExam s= new StaticExam();s.display();}public void display(){System.out.println(" ... Latest Answer : abstract class nnothing but a class which can declear a data but in abclass the data canot shown it internaly working. ... Tags : Abstract
Sponsored Links
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||