why we use new keyword for object

Answer Posted / sunil sharma

To create a new memory location for an object

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the 3 forms of a prolog term

2759


MOV.CB 007H,ADCON1 MOVE.CT 001H,_OPTION_REG_7 MOV.CB 007H,CMCON

1639


One boy has to climb steps. He can climb 1 or 2 steps at a time. Write a function that will returns number of way a boy can climb the steps. Int WaytoSteps(int n) (eg:- suppose number of steps is n=4 ,the function will return 5 (one-one-one-one ,one-one-two, one-two-one-,two-one-one, two-two)

3003


what is integration testing in real time applications?

1851


1. How many jobs can we write in a single file? 2. How many maximum members can exist in a single partition data set(pds) in jcl?

1924






smal talk is pure object oriented or not?

1533


hi This is radhika.Can anyone help me to know the question papers of NATIONAL INFORMATICS CENTRE for the post of scientific officer/engineer? if anyone know plz tell me question paper pattern

1536


what is the work of 1tier,2tier,&ntier? Plz Explain it!

2045


Code for display the images from drive using vb 6.0?

4305


how to add Servlet-api.jar file into eclipse 3.3.2 ?

4071


Give examples of macro quoting function?

1557


what is the main usage of an abstract keyword?please follow the program class A { void display() { System.out.println("hai"); } void print() { } } class B extends A { void print() { System.out.println("Hello"); } } In this program i was gives the implementation of print() according to my requirements in subclass.And there is no definition in superclass then why we can use abstract keyword before a method that i want to gives definition in other classes,is any mistakes in the above usage of method?

1487


What is the first message line that any language learning prints on the screen? and why?

1687


what is woransient key word? how it is used in java

1808


What is the difference between WebIntelligence and Designer in creating universes?

1475