Report Bug

QusWhat kind of expression is “new Point(2,3)”? Qus "न्यू पॉइन्ट(2,3)" किस प्रकार का एक्सप्रेशन है?


A. Primary Expression
B. Object Creation Expression
C. Invocation Expression
D. Constructor Calling Expression


Solution
B. Object Creation Expression



Explanation
An object creation expression creates a new object and invokes a function (called a constructor) to initialize the properties of that object. Object creation expressions are like invocation expressions except that they are prefixed with the keyword new.
CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad