Java is a programming language and computing platform first released by Sun Microsystems in 1995 by James Gosling. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day.The latest Java version contains important enhancements to improve performance, stability and security of the Java applications that run on your machine. Installing this free update will ensure that your Java applications continue to run safely and efficiently.
There may be a situation when you need to execute a block of code several number of times. In general, statements are executed sequentially: The first statement in a function is executed first, followed by the second, and so on.Programming languages provide various control structures that allow for more complicated execution paths. A loop statement allows us to execute a statement or group of statements multiple times and following is the general form of a loop statement in most of the programming languages .
Java OOPs Concept
we will learn about basics of OOPs. Object Oriented Programming is a paradigm that provides many concepts such as inheritance, data binding, polymorphism etc.Simula is considered as the first object-oriented programming language. The programming paradigm where everything is represented as an object, is known as truly object-oriented programming language.Smalltalk is considered as the first truly object-oriented programming language.
Java String class provides a lot of methods to perform operations on string such as compare(), concat(), equals(), split(), length(), replace(), compareTo(), intern(), substring() etc.The java.lang.String class implements Serializable, Comparable and CharSequence interfaces. string implements serializable, comparable, charsequence
The exception handling in java is one of the powerful mechanism to handle the runtime errors so that normal flow of the application can be maintained.In this page, we will learn about java exception, its type and the difference between checked and unchecked exceptions.Exception Handling is a mechanism to handle runtime errors such as ClassNotFound, IO, SQL, Remote etc.
Multithreading in java is a process of executing multiple threads simultaneously.Thread is basically a lightweight sub-process, a smallest unit of processing. Multiprocessing and multithreading, both are used to achieve multitasking.But we use multithreading than multiprocessing because threads share a common memory area. They don't allocate separate memory area so saves memory, and context-switching between the threads takes less time than process.java Multithreading is mostly used in games, animation etc.
Java I/O (Input and Output) is used to process the input and produce the output.Java uses the concept of stream to make I/O operation fast. The java.io package contains all the classes required for input and output operations.We can perform file handling in java by Java I/O API.A stream is a sequence of data.In Java a stream is composed of bytes. It's called a stream because it is like a stream of water that continues to flow.
Java Networking is a concept of connecting two or more computing devices together so that we can share resources. Java socket programming provides facility to share data between different computing devices.The widely used java networking terminologies are given below: IP Address Protocol Port Number MAC Address Connection-oriented and connection-less protocol Socket
The Abstract Window Toolkit (AWT) is Java's original platform-dependent windowing, graphics, and user-interface widget toolkit preceding Swing. The AWT is part of the Java Foundation Classes (JFC) — the standard API for providing a graphical user interface (GUI) for a Java program.The java.awt package provides classes for AWT api such as TextField, Label, TextArea, RadioButton, CheckBox, Choice, List etc.
Applet is a special type of program that is embedded in the webpage to generate the dynamic content. It runs inside the browser and works at client side.It works at client side so less response time. Secured It can be executed by browsers running under many plateforms, including Linux, Windows, Mac Os etc.