Java provides built in support for multithreaded programming. A Multithreaded program contains two or more parts that can run concurrently. Each part of such a program is called a Thread. Each thread defines a separate path of execution. Multithreading is a specialized form of Multitasking.
In any interactive environment, the program should be able to respond to actions performed by the user. There actions can be Mouse click, Key Press or selection of a Menu Item. When the user initiates an action, the AWT generates an event and communicates it to event handlers. These event handlers can respond to the […]
Files are storage spaces where information and data’s are kept. Without files we cannot do even the simplest of tasks in our day to day computing life. Every programming language have the capability to access these files in some or other way.
An exception is an abnormal condition which occurs during the running of a program. For example division by zero, invalid array index are the instances of exceptions. It’s better to anticipate such errors in advance and take necessary precautions while writing source code itself.
An Array is a similar data- type with similar values. In Java, arrays can only be of a single type like Integers, Strings, Float, Double and so on.
The scope of variables can be accessed by Access specifiers in Java. There are four levels of access specifiers in Java. They are Public, Private and Protected.
A Class is the basic concept in a Object Oriented Programming language. It’s the template for multiple objects with similar features.
In every programming language, you will learn about data types like Integer, Float etc. Data types are necessary for variable declaration. Data Types in Java are primitive types i.e.; they are built into the Java language itself. Data types in Java can be classified as Byte, Short, Long, Integer, Float, Double, Character, Boolean. Let us […]
Java is a programming language for the internet and was developed by Sun Microsystems. It’s completely object-oriented and more flexible than C/C++. You can perform two type of Programming work with java. First is general applications and the second applets. However, applications are not as much developed by using java. Programmers use java to design […]
This article provides answers to frequently asked questions regarding the usage of email.