why we use new keyword for object

Answers were Sorted based on User's Feedback



why we use new keyword for object..

Answer / sankarsan danta

To create a memory space for object

Is This Answer Correct ?    6 Yes 0 No

why we use new keyword for object..

Answer / ashish tripathi

To Instantiate the Obj.

Is This Answer Correct ?    3 Yes 0 No

why we use new keyword for object..

Answer / sunil sharma

To create a new memory location for an object

Is This Answer Correct ?    1 Yes 0 No

why we use new keyword for object..

Answer / sumitpalsingh

The new Keyword is used to allocate the memory at run time to the Object.Because java Support dynamic Programming language.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Programming Languages AllOther Interview Questions

What is the output of the following x = "abcdef" i = "a" for i in x: print(i), a) no output b) i i i i i i … c) a a a a a a … d) a b c d e f

0 Answers   Peerless,


Explain the types of operations? Draw the figure for shift and rotate operations?

0 Answers  


In loading programs into memory, what is the difference between load-time dynamic linking and run-time dynamic linking?

0 Answers  


Differevce between arrays and array builders?

0 Answers  


What is the worst case of AVL tree?

1 Answers  






HTML is a subset of

8 Answers  


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

0 Answers  


what is jackson structured develepment?? and how is it different from OMT??

1 Answers  


how we can call xml file in java file using Android platform?

2 Answers   TCS,


In Java what is the difference between following two statements ? int a[],b; int []a,b;

1 Answers  


in a company 30% are supervisors and 40% employees are male if 60% of supervisors are male. what is the probability that a randomly choosen employee is a male or female?need steps to solve this?

1 Answers   TCS,


5. How do you round the addition or subtraction of two numbers in assembler?

0 Answers   Wipro,


Categories