answersLogoWhite

0

The object must have same name as that of class name.

User Avatar

Anonymous

5y ago

What else can I help you with?

Continue Learning about Engineering

What is the way to create a function in PHP?

function function_name() { .................... }


In java difference between classes and object in tabluar form?

A class is a template to create objects. You define the general behavior of a new data type in a class; then you create objects as specific variables of the new type. In other words, you can consider the class as a data type.A class is a template to create objects. You define the general behavior of a new data type in a class; then you create objects as specific variables of the new type. In other words, you can consider the class as a data type.A class is a template to create objects. You define the general behavior of a new data type in a class; then you create objects as specific variables of the new type. In other words, you can consider the class as a data type.A class is a template to create objects. You define the general behavior of a new data type in a class; then you create objects as specific variables of the new type. In other words, you can consider the class as a data type.


Why is a class called a factory of objects?

A factory class is a class that uses the factory method pattern. Factory method pattern is a creational pattern that uses factory methods to deal with the problem of creating objects without having to specify the exact class of the object that will be created. Google for more info.


How do you create this shape using the for loop in c?

There is insufficient information in the question to answer it. You did not specify what "this shape" was. Please restate the question.


To create a user defined sizeof function?

Not possible.

Related Questions

What conditions a function must specify in order to create objects of a class?

The object must have same name as that of class name.


Why you use while function in c?

It is a statement; you can create a loop with it: while (<condition>) <statement>


When friction is created between 2 objects the objects create?

When friction is createed between two objects, the objects create static electricity! :D


What are Objects that create light are said to be?

Self-luminous objects.


Why can't some people visualize objects clearly?

Some people may have a condition called aphantasia, which is characterized by the inability to voluntarily create mental images. It is a variation in people's minds, much like differences in height or eye color. This lack of visual imagery may be due to differences in brain structure or function.


Which simple machine depends on friction to function properly?

The screw is a simple machine that depends on friction to function properly. When a screw is turned, the threads create friction with the material it is being inserted into, allowing it to hold objects together or lift loads.


A process that combines a variety of materials or objects to create a sculpture?

Grouping a variety of materials or objects to create a sculpture is called assemblage.


A process that combines a variety of materials or objects to create a sculpture.?

Grouping a variety of materials or objects to create a sculpture is called assemblage.


Process that combines a variety of materials or objects to create a sculpture.?

Grouping a variety of materials or objects to create a sculpture is called assemblage.


What is the way to create a function in PHP?

function function_name() { .................... }


Can you create objects in Sims 2 pets for PC?

Yes. If you go to modthesims2.com you can read the faqs on how create and download mods and objects.


What objects do not create a shadow?

All obejects create shadows unless they are transpearent