Installing Java

Here you are with your computer and you can’t wait to start writing Java applications. But first, you need to get yourself a JDK and install it. For this, you need an Internet connection to https://www.oracle.com/in/java/technologies/javase-downloads.html. and download the java in laoptop or pc.

Variable`s in java

Before you use a variable in java, you must declare it, specifying its data type. The int  types is only one kind of simple variable you can use. mentioned here are the various possibilities. Integer – these types are byte, short, int and long, which hold signed, whole-value numbers. Floating-point numbers – these types are … Read more

Java`s Reserved Words

when you are writing java code, you should know that java reserves certain words for itself as part of the java language. There aren`t too many of them, though. Here they are; abstract – It specifies that the class or method will be implemented later, in a subclass. boolean – A data type that can … Read more

Commenting in your java code

Java supports three types of comments, two of which are taken from C++. you can surround a comment of any length with the characters “/*’ and “*/”, like this: /* This application prints out “Linux” */ public class abc { public static void main(string[] args) { system.out.println(“Linux”); } } The java compiler will ignore all … Read more

System.out.println(“………..”)

The main method has one line of code in it: public class name { public static void main(String[] args) System.out.println(“linux”);} } This is the actual line of code that does all the work. In this case, we are using some of the code that the programmers at sun have already created to display the text … Read more

public static void main(String[] args)

Here`s the next line of code. public class abc { public static void main(String[] args) {……}} Whats happening here is that we are creating a method in the app class. A method in Object-Oriented Programming is like a function or subroutine in standard programming- it`s a block of code that you can pass control to … Read more

What is J2EE?

J2EE (Java 2 Platform, Enterprise Edition) is a platform-independent, java-centric environment from sun for developing, building and online deployment of web-based enterprise applications. The J2EE platform consists of a set of service- APIs, and protocol- that provide the functionality for developing multi-tiered, web-based applications. J2EE is a java-based, runtime platform created by sun microsystems used … Read more

what`s new in java SE6 ?

java SE6 The new java SE 6 comes with lots of improvements ti the existing packages with number of new methods and interfaces added to it. The new version of API supports various new features. Enhanced collection framework dynamic compilation Support for Internationalization Database Security web services Desktop Improvement System Tray Splash Screen Swing Updates … Read more

The Applet Class in Java

Each applet is an augmentation of the java.applet.applet class. The base Applet class gives techniques that a determined Applet class may call to get data and administrations from the program connection. These incorporate techniques that do the accompanying: Get parameters of the applet Get the system area of the HTML record that contains the applet … Read more