---
title: "Comment by Shantanu Tiwari on \"Java or C++? Things to consider when starting your DSA journey.\" | Hashnode"
description: "I have learnt C++ so should I learn java for DSA ?"
url: "https://hashnode.com/posts/java-or-c-things-to-consider-when-starting-your-dsa-journey/621b3742085330c3f79c25fa/comment/621cc49f085330c3f79c5881"
---

[Discussion](https://hashnode.com/posts/java-or-c-things-to-consider-when-starting-your-dsa-journey/621b3742085330c3f79c25fa)

Comment [Java or C++? Things to consider when starting your DSA journey.](https://hashnode.com/posts/java-or-c-things-to-consider-when-starting-your-dsa-journey/621b3742085330c3f79c25fa)

[Shantanu Tiwari](https://hashnode.com/@shantanu926)

[Feb 28, 2022](https://hashnode.com/posts/java-or-c-things-to-consider-when-starting-your-dsa-journey/621b3742085330c3f79c25fa/comment/621cc49f085330c3f79c5881)

I have learnt C++ so should I learn java for DSA ?

[Harsh](https://hashnode.com/@wottersheep)

[Feb 28, 2022](https://hashnode.com/posts/java-or-c-things-to-consider-when-starting-your-dsa-journey/621b3742085330c3f79c25fa/comment/621cc49f085330c3f79c5881#reply-621cd162c07e2ceec785f0c3)

if you're already well versed with CPP, go for DSA in that language only. The use of pointers and the lack of inbuilt libraries in CPP will actually improve your basics of the topic, that's why I said Java is beginner-friendly but I don't think you'll have any issues. Go for it without any fear, I wish you well.
