×

Java vs Dot Net

Java :

Java is a pure object oriented language. It was introduced by James Gosling in the year 1995. The first public implementation of java was done by sun micro systems in the year 1996 as java 1.0 . It is a high level, robust, secured programming language.

Java consists of Java Virtual Machine (JVM) which uses the execution engine and converts the class file into executable file (.class file to .exe file). The execution engine consists of Interpreter and Just In Time(JIT) compiler. In Java we will create classes and then we will create objects.

Java is an independent platform. It works on any kind of operating system. We use java to develop and to focus on large or major projects. The goal of James Gosling is to create the options more than that of sun micro systems.

History of java :

  • For first time it has been introduced with the name oak in the year 1992.
  • And then next the sun micro systems had introduced the first version of java that is Java 1.0 . And in this version the oracle is provided with the open source platform with the tool called java development kit ( JDK ) .
  • And after this the sun micro systems had conducted the re licensing of all the new or old java technologies and by using the public GNU license.

The main motive of the java language is plat form independence. It runs with the principle of WORA that is Write Once Run Any where. It mainly means that we can execute the code any where which is once compiled in a system. There are many features in java.

Features of Java:

There are many kind of features in java. The main features or some of the features of java are as shown below:

  • Simple
  • Object – oriented  programming language
  • Portable
  • Plat form independent
  • Secured
  • Robust
  • Architecture neutral
  • Interpreted
  • High performance
  • Multi threaded language
  • Distributed
  • Dynamic

There is also an automatic garbage collection in java programming language. Java is a best known for its security and it is also known as the secured box. Here there is no explicit pointer.

Java programs run inside a virtual machine sand box. There is also a translator in java. The translators used in java are compiler and the combination of interpreter with JIT compiler.

  We can also define the java by using the following definition :

  • Java is the collection of Application Programming Interface ( API ) .
  • Application Programming Interface ( API ) is the collection of the packages.
  • Packages are the collection of the classes and the interfaces.
  • Where the interface is the collection of abstract methods and also the final static variables.
  • Where the classes are the collection of instance variables , constructors and the instance methods.

Applications of java:

There are also many applications that are based on java. Few of the applications that are based on java are as shown below :

  • Desktop application such as media player , anti virus etc.
  • Web application such as Javatpoint etc.
  • Enterprise application such as banking application.
  • Mobile applications
  • Robotic application
  • Smart card application
  • Embedded system
  • Games etc.

Dot Net :

We know that java is a software which works on any kind of operating system. But compared to java the dot net is mainly focused on different kind of versions of the windows operating system. We can also call Dot Net as .Net .

We use the dot net inorder to develop the rapid applications. It is mainly used when we want to develop the rapid applications. To improve the speed of coding dot net helps a lot to a programmer.

History of Dot Net:

  • The micro soft systems has developed a soft ware with the name called Next Generation Windows Service (NGWS ) in the early 1990 ‘ s. The developed software is nothing but the dot net.
  • The first official version of the dot net that is .Net 1.0 has been discovered in the early 2000 ‘s.

We also have to differentiate between the Dot Net frame work ( .NET Frame work )  and the Dot Net Core ( .NET Core )

Features of java:

  • Working with an user using an interface.
  • Accessing the data using dot net.
  • We can also connect to different databases using the dot net.
  • We can also do the cryptography.
  • It is also helpful in developing the web applications.
  • We can also go by working with algorithms.
  • It is also used in networking.

Related Topics

String Handling Method in Java

What is a String? Strings are a bundle of different characters that are normally used in Java programming language. Strings are regarded as objects in the Java programming language. “String” is a...

4 minutes read.

Relatively Prime in Java

In this article, you will be very well equipped with a knowledge of a relatively prime number and also Java programs to determine whether a given integer is a relatively...

4 minutes read.

Java Package Keyword

A collection of classes, interfaces, and subpackages in a Java program are referred to as a package. Here, we'll learn in-depth how to make and use user-defined packages. package is a...

6 minutes read.

Java Integer lowestOneBit()

The lowestOneBit () method of Java Integer class returns an int value with at most a single one-bit, in the position of the lowest-order one-bit in the specified int value.  Syntax public...

2 minutes read.

Modules in Golang

Modules are a way to manage dependency versions and enable reproducible builds of Go programs. They were introduced in Go 1.11 and are now the recommended way to manage dependencies...

4 minutes read.

Special Operators in Java

An operator in Java is a special symbol. It is used to perform operations on two or more variables.  We all know basic operations in Java. There are 8 types...

5 minutes read.

Java Long Keyword

Long is a primitive data type in Java. To initilize variables, we implement the long keyword. It can also be applied to techniques. A 64-bit two's complement integer can put...

3 minutes read.

JRE (Java Runtime Environment)

JRE is an installation package that provides an environment to run the Java program on any Operating System. It does not deal with the development process of any application. It is a part...

2 minutes read.

How to Convert char to int in Java

How to Convert char to int in Java When two variables of different types are involved in the single expression, Java compiler uses built-in library function to convert the variable to...

3 minutes read.

Java Architecture

Java architecture is a combination of three parts they are JVM, JRE and JDK. These components will help in the functioning of the java programs. The process of code interpretation...

6 minutes read.

Difference between next() and nextline() in Java

One of the simplest methods for receiving input of the basic data types, also including int, double, and strings, in Java, is to use the Scanner class, which is part...

3 minutes read.

ArrayList vs Vector in Java

ArrayList Vs. Vector in Java In Java, the two classes ArrayList and Vector both are associated with Java Collections Framework. Both classes implement java.util.List interface. Even so, these classes have noticeable...

4 minutes read.

Getter and Setter Method in Java Example

In Java programming, getter and setter methods are often employed. The values of class fields can be accessed and changed using Java's getter and setter methods. A private access specifier...

6 minutes read.

Arrow Operator in Java

The introduction of arrow functions in ES6 gives you a more precise approach to define JavaScript functions. We can write shorter function syntax thanks to them. Your code will be...

4 minutes read.

How to Concatenate Two Strings in Java

How to Concatenate Two Strings in Java Concatenation of two strings means adding the beginning of one string to the end of the other string. Some of the ways to concatenate...

3 minutes read.

Java try catch

Java try catch There can be statements that can cause exceptions, and the exception leads to abnormal termination of the program. To avoid that abnormal termination, those statements that look potent...

4 minutes read.

Manachers Algorithm in Java

Here, we'll go over the four scenarios once more in an effort to approach them differently and use the same strategy. The values of (centerRightPosition - currentRightPosition) and LPS length at...

3 minutes read.

Java Network Programming (Socket Programming in Java)

JAVA NETWORK Network programming is used to execute programs across multiple machines that are connected by a network. The java.net package contains a collection of classes and interfaces that provide this...

3 minutes read.

Java Buffer Reader

When a variable cannot change its value during run time is called a Static way of programming. In this programming, a variable is directly assigned to a value. Program: Import java.io.*; class  A {  ...

4 minutes read.

Java Read File

Java provides its users with many ways of reading a file. To read a text file, you can use a FileReader, BufferedReader, or Scanner. Each utility offers something special for...

6 minutes read.