Net survives because of java. Net is made up of java.
Internet is a huge network which can be accessed by various users throughout the world. They can use different platforms(or operating systems) which may cause problems like a web page designed for windows may not work with Linux.
Therefore to get rid of this problem java is used to design the internet which is
That is why, net and java are almost same but none is better although net has
got some additional features like flash,etc. with time.