How to create an empty class in python?



How to create an empty class in python?..

Answer / Vipin Kumar Gangwar

To create an empty class in Python, you can use the pass statement: nclass MyEmptyClass:n pass

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

What are membership operators in python?

1 Answers  


How many kinds of sequences are supported by python? What are they?

1 Answers  


Explain about dir() and help() function will do in python?

1 Answers  


Mention what is the difference between Django, Pyramid, and Flask.

1 Answers  


How to import modules in python?

1 Answers  


Are functions objects in python?

1 Answers  


is Python similar to ruby?

1 Answers  


How are uuid generated?

1 Answers  


What is a Pandas Series, and what? does it entail

2 Answers  


Name some of the important modules that are available in python.

1 Answers  


Does .net support python?

1 Answers  


If given the first and last names of bunch of employees how would you store it and what datatype?

1 Answers  


Categories