I am new to Python,i can't understand python is oops concept based language but we don't have to create any classor main method | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I am new to Python,i can't understand python is oops concept based language but we don't have to create any classor main method

I mean to say that in python we don't have to create any class or main method as we create in Java program, even when both languages are based on object oriented programming(oops concept).

11th May 2017, 2:21 PM
Harshit Kaushik
2 Answers
0
That's because java is purely oo but python, even though it is oo, allows for other programming paradigms The "not having to create a main class" is a result of this characteristic and the fact that python is a "loosely typed" programming language
12th May 2017, 7:27 AM
spcan
spcan - avatar
+ 1
Come again? In clear English this time, would you please? What is your question?
11th May 2017, 7:59 PM
Amaras A
Amaras A - avatar