hey guys welcome to this session by Intellipaat in today's video we'll be
discussing the difference between Java and.net both platforms that are used to
create large-scale applications and software before we get into that makes
you to subscribe and hit the bell icon so you don't miss any of our future
updates now let's take a look at the agenda firstly we will discuss what Java
exactly is and what dotnet exactly is and then we will see what kind of impact
these two technologies have in the software industry and then we will go
ahead and differentiate both of them by setting a few criteria that we can use
to compare them and finally we will conclude by discussing the salary trends
that are there for both of these technologies in the software industry
also guys if you're looking for end-to-end training in Java we do
provide the same for any further details check out the links given in the
description below now without any further ado let us begin with the
session let's start off by discussing software development now we know there's
a very huge demand for software these days the market is hungry and we have to
supply them now to do so we need many different tools that will help us to go
ahead and build this offer to develop the software these tools can be your
coding languages your frameworks and integrated development environments and
many other tools will basically help us to develop software and provide it to
this hungry market now in today's video we'll be talking about two such tools
that a Java and.net so we'll start off by discussing or having an introduction
to Java now Java is a very popular programming language it was developed by
Sun Microsystems in the 90s now this language is very easy to learn and it
has many many advantages and utility now one advantage of Java is that once you
write the code you can use it anywhere or basically you can run it anywhere so
if you had java code then you would first give it a java compiler where we
will compile it and then it will send it to JVM
now this JVM will be different for different OSS so you have your windows
OS your linux OS and your mac OS these jvm is basically convert the bytecode
from the java compiler into the machine language for each of
these operating systems so this is basically Java
okay now let's discuss the benefits of Java so one of the first benefits is
that it's very portable like we just discussed Java even though it's written
once it can be used in a lot of different places that's why it can also
be called write only once read anywhere coding language so if you suppose
written it in Windows you can use it anywhere you just have to use the
appropriate JVM for that then it is an object-oriented language now a clear
advantage of Java being an object-oriented language is that it
gives a clear structure for programs which can be used to implement abstract
data types now coming to talk about security benefit Java was developed with
the security key feature in mind anytime you want to download a code from an
untrusted source you can do so without worrying as the source should be operated
on in a very secure environment and security is one of the most important
features of Java there comes compatibility well basically Java
versions are supposed to be backwards compatible for example if you're working
with Java 8 and you want to switch to an older version of Java then you can do so
without any trouble all right now let's have an introduction to dotnet so dotnet
is not a language to be honest it's a framework it's an entire framework that
is used to develop end to end applications it was developed by Microsoft to be an
open source development platform now it is basically a bunch of tools like it
has tools like ID ease your languages and your libraries so all these tools
these IDE s languages and libraries combined together to form the dotnet
framework so basically it was developed by Microsoft for the reason of making end to end
applications so you see they make a lot of applications right and they saw
that a lot of times the libraries that they wanted to use were very similar in
all the applications so they just decided to make a framework so they
didn't have to make these libraries again and again so that's why they use
this framework for end-to-end application development now let's
discuss the different benefits of the.net framework so one of the first
benefits is that it's very robust which means
that what for code or whatever software you're developing using this framework
will be very polished and will have the least amount of crashes possible and it
also has a very robust caching system now let's discuss the other benefits so
a next benefit is basically security now just like java.net also provides a
lot of security scope for the software that is being developed now it also
helps in reducing memory leaks as much as possible it is able to do so as the
dotnet common language runtime that is the CLR provides a very managed
environment where the memory is maintained by a garbage collector and
hence it has very reduced memory leaks also guys if you're looking for
end-to-end training in Java we do provide the same for any further details
check out the links given in the description below now without any
further ado let us begin with the session now coming to the fact that it
can support multiple languages it can support so many languages you have your
C++ C sharp F sharp visual basic.net and Cobra so many languages and since it can
suppose so many languages a developer does not have to be constrained to a
particular language to work for dotnet alright now let's quickly discuss the
impact of both of these technologies we'll start off with Java
now Java is a development language used by a lot of companies for example you
can see Spotify LinkedIn Google Instagram Netflix snapchat Alibaba eBay
Myntra Indian companies Chinese companies American companies all of
these companies make use of Java Java is an open source language and a lot of
developers know about it and hence you know developing a software is very easy
for these companies you can use this language and you can get developers who
know how to work on this language now if you discuss the impact of dotnet on
other companies you can see companies like Intel GoDaddy Fujitsu Microsoft
Dell and Stack Overflow now these companies also make use of dotnet
framework obviously Microsoft because they developed it and internally they
would obviously prefer that people use dotnet now obviously all of these
companies that I've mentioned just now will not be just using Java they'll be
using so many different languages for so many different purposes
but you can see both of these languages or both the language and the framework
have had a very big impact on the industry they've helped them to make a
lot of software very fast and very good software on top of that and hence
increase the profits of all of these companies all right now let's move on to
compare both of these technologies or the language Java and the framework
dotnet let's compare both of them let's set a criteria to compare both of them
first so these are the few criterias first we'll discuss the fundamental
differences between both of them then we'll discuss the operating systems then
we'll discuss about the IDs and tools both of them use and then we'll talk
about the efficiency of both of them and finally we'll be talking about the
languages they both support so let's start off by talking about the
fundamental differences between Java and.net so the fundamental difference so
Java here is basically a programming language whereas dotnet is an
open-source framework so Java is used to write the code whereas dotnet is a free
work that allows you to use the tools and use another language inside of it to
develop software so the next criteria is OS or basically portability now we know
that Java can be used on many different systems or different environments why
because it uses specific JVM for those particular systems like we talked about
earlier Java has specific JVM's so suppose for Windows you'll have Windows
based JVM and then for Linux you'll have a Linux JVM for Mac you'll have a
Mac JVM so you can just write the code in Java only once and you can execute it
in any of these different operating systems whereas the dotnet dotnet only
works on different versions of Windows you cannot use dotnet anywhere else
unless you are working with dotnet core so the next criteria is IDE so if you talk
to a Java Java works on few default IDs that people basically use or that are
very popular to use when you working with Java you have your Eclipse you have
IntelliJ IDEA Oracle NetBeans and Oracle JDeveloper whereas the dotnet
people basically use Visual Studio as it is integrated in dotnet now this IDE
acts as single workspace where you can do a lot of
things you can even use the querying feature of dotnet so that was the IDs
now let's talk about the next criteria so our next criteria is basically
efficiency now there are multiple factors that play into the efficiency of
both of these languages so if we talk about Java Java is an interpreted
language and it gets converted to machine language only after execution of
the code now this is a big factor in Javas efficiency whereas in dotnet the
code is compiled already and is run on the system where the code will be
initiated as in with Java you can use it anywhere right so whereas with dotnet
you can use the you are using the code only where you're creating that code
because windows and the Java you can use it on many other operating systems
another thing is that linq which is basically a querying ability is only
available with dotnet where is as it's not available with Java so these factors
play major role in the performance of both of these technologies or language
or frame and framework then comes a language support now we know that Java
is a language so it by itself doesn't support anything but if you talked about
JVM that is a Java Virtual Machine you can use Java Virtual Machine with
different languages so you have a java virtual machine for Ruby and you have a
Java Virtual Machine for Python so if support is those kind of languages but
only through JVM and this is only when you want to use those languages and use
some of the libraries that are present in Java other than that they have no use
or very little use whereas dotnet if you talked about
dotnet dotnet is a framework it's not a single language so you can use a lot
of languages with dotnet one of the most popular ones is c-sharp c-sharp is very
popular for developing in dotnet but you have other languages also like c++
cobra f-sharp vb.net and etc so guys those were the criterias and that was
the comparison let's talk about the job trends now now with Java you as you can
see in America as a junior Java developer you'll be getting around this
figure that is $56,000 this is not three figures but this is a really good figure
for a starting off or a junior Java developer as I see you Java developer
you will move into six figures where you will be earning
$100,000 and even more depending on your skills and depending on the company if
you talked about India in India as a junior job helper you'll be earning
around 4.5 lakhs per annum now for in India a fresher salary of four point
five lakhs is good it's not amazing but it's good enough but as you get more
experience you'll start earning more you'll earn nine point two eight lakhs
per annum as a senior Java Developer again these figures are average salary
figures that are reported by people you mostly will be earning more based on
your skills based on the company and based on your resume all right so now
let's talk about dotnet job trends so with dotnet you can see a similar
pattern as a junior dotnet developer in America you'll be earning $61,000 the
average salary in America and the average salary of a senior dotnet
developer is ninety six thousand dollars again these are just figures the
average figures you may earn more or less depending on your skills the
experience you have or the company you're applying to with India it's 4.1
lakh per annum as a junior dotnet developer average salary and a senior
dotnet developer salary is 8 lakhs per annum so remember guys again these
figures are rounded figures or average figures that have been reported by
employees you will earn more or less depending on your skills depending on
the company applying - and depending on the experience you already have but to
be clear you'll be earning a good amount if you're applying as a Java developer
or as a.net developer so which one is the better that is the main question you
might be asking yourself which one should I choose should I choose Java or
should I choose dotnet but this is a tricky question as you can see both Java
and.net a very good for developing software now a company may prefer Java
or.net for the choice for developing software so maybe if the choice of your
company maybe you like a company a lot and you see that the use Java then you
should choose Java or if a company like dot net then you should try for dotnet
so take in consideration all the information I've given you think of
which one you'll prefer and then choose that language and make your career also
guys if you're looking for end-to-end training in Java we do provide the same
for any further details check out the links given in the desc
below okay guys this brings us to the end of the video if you have any queries
leave them in the comments below and we will get back to you at the earliest
thank you for watching