is it really necessasry to have knowledge of java before learning python ??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

is it really necessasry to have knowledge of java before learning python ???

actually i am all newbie to python and starting the course soon. so one of my friend suggested to learn java before starting with python as prerequisite. so plz suggest

18th Jun 2019, 2:00 PM
Er Akshay Shimpi
Er Akshay Shimpi - avatar
12 Answers
+ 6
No bro , I have start only with python . Java and python both are different languages Java is class based language i.e. just for adding two variables you need to create a class Whereas in python , just type a+b😉 and they will be added. So python is very much different and easy It's syntax is very easy and it is also becoming the most popular language of the world. And even I recommend many beginners to start with python. Thanks
18th Jun 2019, 2:05 PM
Prince PS[Not_Active]
Prince PS[Not_Active] - avatar
+ 5
Not at all! You need only be familiar with English. If you know English, you also know python.
18th Jun 2019, 10:39 PM
Real Coder
Real Coder - avatar
+ 4
Hmm, I did not. So, you don't need it. But knowing more is always better. 8)
18th Jun 2019, 2:03 PM
Hans D
Hans D - avatar
+ 4
I have no clue of Java and actually am actively evading it. Never stopped me from writing Python. You don't need to know Latin in order to learn Spanish.
18th Jun 2019, 2:05 PM
HonFu
HonFu - avatar
+ 4
no, but if you are planning to learn both languages, with Java as the first then you will less scold ( like "wtf how can I programming without global variables ?") ..
18th Jun 2019, 2:55 PM
zemiak
+ 4
No man. If you want to learn one of these, i suggest to start learn python. Becouse the semantic of the code is more simple, easy to understand and you can code with less lines of code. Otherside, Java is more complex.
18th Jun 2019, 3:48 PM
Matheus Rodrigues
Matheus Rodrigues - avatar
+ 3
thankyou guys HonFu Prince PS Hans D i even heard that python can help with machine learning and ai ... yhanks for suggestions
18th Jun 2019, 2:10 PM
Er Akshay Shimpi
Er Akshay Shimpi - avatar
+ 3
No , I think you must know python first !, Becuase python is only a trending language that you can do anything. From web to app development , from AI to Robotics , etc!
18th Jun 2019, 5:58 PM
Mayank Chattree
Mayank Chattree - avatar
+ 3
Java is very strict with syntax and punishes you cruelly when you forget a semicolon or use a wrong type declaration. Python is dynamically typed therefore more forgiving, but that can also be a potential source of errors. Java is strictly object-oriented, but in python you have a wide choice of programming styles available, whether imperative, procedural, functional or OOP, it is up to you which one you use. On the whole, learning Java can give you a lot of discipline when you design your data types and code structures - same is not enforced by python so if you don't care much and dont follow PEP guidelines, you can easily develop very bad coding practices.
18th Jun 2019, 8:22 PM
Tibor Santa
Tibor Santa - avatar
+ 3
No need of it , thought it will be a plus point though if you know java already.
18th Jun 2019, 11:17 PM
Nishant Kumar Singh
Nishant Kumar Singh - avatar
+ 3
No its not necessary to learn java before learning python ... But for easily understanding the code we need to learn java ... As in python we get many function inbuilt so we don't know what actually done ...so for understanding the concept we need java
21st Jun 2019, 6:13 PM
anuradha mall
+ 2
Another reason to start learning python is the growth of it acording the link below https://stackoverflow.blog/2017/09/06/incredible-growth-python/
18th Jun 2019, 7:25 PM
Matheus Rodrigues
Matheus Rodrigues - avatar