×

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

Java Generate Random String

Java Generate Random String In this tutorial, we will learn about to generate random string in Java. Random generation strings mean any string will be generated, which does not follow any...

7 minutes read.

Type Annotations in Java

Only declarations were eligible for annotations in earlier versions of Java. With Java 8, you may now annotate any type use, including types in declarations, generics, and casts: @Encrypted String data; List<@NonNull...

6 minutes read.

Alien language problem in Java

Given the alphabetic sequence of an alien language, given a sorted dictionary (array of words) for the languages. Example: Words = { "aac", "abc", "aaa" } Output c, a, b Algorithm: (1) Compare two words that...

3 minutes read.

Client Server Program in Java

Client Server Program in Java The client and server are the two main components of socket programming. The client is a computer/node that request for the service and the server is...

7 minutes read.

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.

Java Identifiers

In Java, the symbolic notations used for identification are called identifiers. Identifiers can be the name for the class, variable name declaration, name of the package, constant name and many...

3 minutes read.

House Numbers in Java

In this section, we will discuss about house number in Java. It is a sum of cubes, each of which has a dimension of h + 1. There is a...

3 minutes read.

Thread Scheduler in java

Scheduling: it is defined as the execution of multiple threads on a single CPU in some order is called scheduling. Preemptive-priority scheduling: This algorithm schedules threads based on their priority relative to other...

11 minutes read.

How to Return Value from Lambda Expression Java?

What is Lambda Expression in Java? In Java 8, Lambda Expressions were introduced.A lambda expression is a brief section of code that accepts input and outputs a value. Similar to methods,...

4 minutes read.

Stack in Java

Java provides a number of collection frameworks to store the collection of objects. Among the collection of data structures " Stack " is one of them. Stack is one of...

5 minutes read.

Difference Between BufferedReader and FileReader

BufferedReader: To read data from a specified character stream, two classes are used: buffered readers and file readers. Both of them have advantages and disadvantages. Although how they operate is the...

6 minutes read.

Sylvester Sequence in Java

A Sylvester Sequence is a series of numbers in which each term is the sum of the terms before it plus 1. The sequence's first two terms are 2 and...

3 minutes read.

String isnullorempty in Java

What do you mean by String? Strings are a collection of characters that are commonly used in Java programming. Strings are regarded as objects in the Java programming language. “String” is a...

4 minutes read.

Java Destructors

Before knowing about Java destructors, let us know about constructors. If we understand the concept of the constructor, we can easily understand about destructor and also, we will get an...

3 minutes read.

Highest precedence in Java

In Java, the operator is the first thing that springs to mind when discussing precedence. The order in which the operators in an expression are evaluated is controlled by a...

3 minutes read.

Producer consumer problem in Java using Synchronised block

The producer-consumer problem in Java, commonly known as the bounded-buffer problem, is a well-known multi-process synchronization challenge where we attempt to synchronize many processes. Two processes are involved in the producer-consumer problem:...

3 minutes read.

Swing Program in Java

Java Swing is part of Java Foundation Classes (JFC). The swing toolkit is used to generate Graphical User Interface (GUI) for programs written in Java. The Java swing API is...

4 minutes read.

Java Math toRadians() Method

The toRadians() method of Java Math class converts an angle measured in degrees to an approximately equivalent angle measured in radian. Syntax: public static double toRadians (double angdeg) Parameters The parameter ‘angdeg’ represents an...

2 minutes read.

Kong Java Client

Kong is an Organization Microservice Programming interface gateway. Kong gives an adaptable deliberation layer that safely oversees correspondence among clients and microservices by means of a Programming interface. Otherwise called...

6 minutes read.

How to override toString() method in Java?

Java is an object-oriented language. It only works with classes and objects. Thus, whenever we need to calculate, we need an object or objects that belong to the class. The Java method...

2 minutes read.