Javacode - javacode.in - javacode.in

Latest News:

Login Logout Code in Servlet 22 Jul 2013 | 03:09 am

Login Form Code in Servlet Here are the steps to create login logout and register form in servlet. Step 1- First create home.html file for user interface. In this file we write the code about login...

Why java is platform Independent language? 22 Jul 2013 | 12:54 am

> The most important feature of “java is platform Independent”. > Here ‘platform’ stands for Operating systems used by end user. > There are lots of Operating Systems and java supports all of them, ...

Why Java is Callled Robust Language 22 Jul 2013 | 12:52 am

> One of the main feature of java is, ‘Robust language’ and robust means ‘Powerful’. > Java is a robust language because of its features, like - * Garbage collection * Strict Type checking 1. At c...

Java Code for Space Remove 17 Jul 2013 | 01:20 am

Java Code for Space Remove import java.io.*; import java.util.*; class RemoveSpace { public static void main(String args[]) { File f=new File(args[0]); if(!f.exists()) {System.out.print(“File...

Java Code of File Listing 17 Jul 2013 | 01:19 am

Java Code of File Listing import java.io.*; class ListFiles { public static void main(String args[]) { File f=new File(“c:”); if(f.exists()) { File arr[]; arr=f.listFiles(); for(int i=0;i ...

What is the definition of Java 17 Jul 2013 | 01:18 am

What is the definition of Java 1> java is known as “Almost Pure” Object Oriented Programming language. 2> because in pure object oriented programming language,each and everything is in form of clas...

Immutable Class in Java 17 Jul 2013 | 01:16 am

Immutable Class in Java /* IMMUTABLE CLASS * to make a class immutable, it means, which can not be inherited or we * can not modify or change the value of methods or variables of immutable * cl...

Hashtable vs HashSet vs HashMap in Java 17 Jul 2013 | 01:15 am

Hashtable vs HashSet vs HashMap in Java Hashtable : > Hashtable is basically a datastructure to retain values of key-value pair. > it didn’t allow null for both key & value. we will get NullPointer...

Line Drawing Program in Java 17 Jul 2013 | 01:13 am

Line Drawing Program in Java import javax.swing.*; import java.awt.*; import java.awt.event.*; class DrawLineJavaCode implements MouseMotionListener { int px,py; JFrame f; Dimension d; public...

Interesting Facts About Java 17 Jul 2013 | 01:11 am

1. To run any class (in any package), we must set the classpath first. 2. To set permanent path of any package in any system : 1. First make a jar file of this package. 2. Right click on my compute...

Recently parsed news:

Recent searches: