sry if i'm really noob, u say HDD is better than SDD in my case (i didn't understand why tho), so why should i buy a new HDD when it has one already? i just wanted to speed up so i said i would replace HDD with SDD.Upgrading RAM from 1 GB to 2 GB would make your laptop somewhat usable these days for one of the primitive tasks you wanted, viz., learning JAVA. Not more. As for upgrading to SSD… Really, I wouldn't spend more than 1 unit of your local currency on this (+ delivery costs), and I'd go for an HDD in your case anyway. I wouldn't install Windows for learning JAVA (you'd be tired of waiting until the installation process and the updates terminate), so, I'd advise going with some Linux (e.g., Damn Small Linux or (old)oldstable Debian).
I read in Dell Forum that people with Amd Turion 64 X2 TL-56 and this laptop has upgraded to 8gb ram and thats cool. so i can upgrade more than 2 gb 😀