Why we use NEW operator when we create Object,While in C++ we
donot ?



Why we use NEW operator when we create Object,While in C++ we donot ?..

Answer / kaiwalya

it is for allocating a memory to newly created object.object get place in memory.

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More Programming Languages AllOther Interview Questions

how we can connect applet with database?

1 Answers  


1. What coding languages are you comfortable with?

1 Answers  


Crystal report proffessional 9 to filter the issue date!!

1 Answers  


In an customer exit (include Z) program, only the last record is getting fetched. The exit is getting called after pressing save button. What to write for fetching the first record ? Before saved to a SAP table how can i call all these records in an itab in the exit ?

0 Answers  


1.group by clause explain along with an example 

1 Answers   Parexel,






Hello all, My name is Nrupali, am a fresher, i know C language beginner. dont have any experience. planning to learn Php. let me know which language should i choose to learn or for salary purpose and growth??? kindly help me to take decision. thanks

1 Answers  


Define distributed queries. can you explain me as soon as possible

0 Answers   HCL,


if there are n nodes in a binary tree, how many null pointers are there?

4 Answers   Hughes,


what is radio button? Plz show code this! how will select radio buttons to go next window Forms? Supose o radio button1 o radio button2 o radio button3 o radio button4 how will coding this? Plz explain this!

0 Answers  


What are the other ways to create an object with out calling new keyword in java?

2 Answers   HCL,


6.int x=10; float y=20; a=x%2=? b=y%2=?

1 Answers  


What is a must for multitasking? a) Process preemption b) Paging c) Virtual memory d) None of the above

9 Answers   InterGraph,


Categories