Java-Tutorials

Java Tutorials - Best Java Tutorials Directory. Java is a portable object-oriented language developed by Sun Microsystems. Originally used mostly for web programming, it is now used primarily to develop large web-based applications. Find tutorials, example codes about Sun Java Technology.

Programming Resource Home :: Java-Tutorials

Advertisement

Advertisement




Java-Tutorials
Tutorial Java Map Example
Map Interface adds keys to values. Every key in the Map Interface should be unique. It is part of java.util package. Each element in a map has a key and value. Each key-value pair is saved in a java.util.Map.Entry object. In the following example, a class HashMap is used to implement Map Interface . put() method is used to add elements to key and value pair. getKey() method and getValue()method are used to display the key and values. Map.Entry defines both of these methods. View Rating



Java-Tutorials
Tutorial Roseindia Java Tutorials
Roseindia Java Tutorials are intended to provide in-depth knowledge of Java programming language that enabled the learners compile and run their own Java applications effectively as well as efficiently. Java Tutorials roseindia are created and designed by well trained software professionals with years of experience in developing core java applications and hence provide you the best tutorials of Java which help you learn how to write, compile, and run Java applications easily. View Rating



Java-Tutorials
Tutorial Flex Tutorial
Flex is a SDK (Software Development Kit) which allows for developing RIA applications. View Rating



Java-Tutorials
Tutorial Finalize Method in Java
Finalize method in Java is a special method called by the garbage collector when it has no existing reference of an object. The run-time system call its finalize() method before the memory is reclaimed. The finalize method will return no value and no arguments but can be overridden by any class. The finalize method for all current object is called when an application exits. View Rating



Java-Tutorials
Tutorial Create File in Java
File is nothing but a simple storage of data in Java language. We call one object that belongs to java.io package and we use it to store name of the file or directory and also use the pathname. File is collection of stored information that are arranged in String, column and row line. This example stores file name and text data to the file. The File.createNewFile() method is used to create a file in java. View Rating



Java-Tutorials
Tutorial Java Substring
A part of String is called substring. Substrings are also a String. Substring is used to create small strings. Sometimes a programmer needs only a part of String so, how they can find the substring. View Rating



Java-Tutorials
Tutorial What is Public static void main
In most of the Programming language, main function is the first function where program start execution. This is the first method from where Java Virtual Machine(JVM) start executing. Following are the variation of main method. View Rating



Java-Tutorials
Tutorial How to Read a File in Java
In this section we are going to know, How to read a file in Java. We have to follow three step to read a File. View Rating



Java-Tutorials
Tutorial Java char to string
Following program will show you how to convert a char into a string in Java. Though there are many ways to convert a char to a string we will use toString() method. This reads a character and returns the String equivalent of it. In this example a class 'CharToString' is used. System.in is used to read the input from system/user at the run time. View Rating



Java-Tutorials
Tutorial Calculator program in Java
Calculator program in Java is used by programmer to add, subtract, multiply or divide two integer numbers that are input by system. In the given example a class 'calculator' is used. System.in takes the input from the system/user at run time. InputStreamReader reads the input from System.in and then keep it into Buffer. Here is the Example of Calculator in Java program. View Rating
Page:  [<<]   1   2   3   4   5   6   7   8   9   10   11   12   13   14   15   16   17   18   19   20   21   22   23   24   25   26   27   28   29   30   31   32   33   34   35   36   37   38   39   40   41   42   43   44   45   46   47   48   49   50   51   52   53   54   55   56   57   58   59   60   61   62   63   64   65   66   67   68   69   70   71   72   73   74   75   76   77   78   79   80   81   82   83   84   85   86   87   88   89   90   91   92   93     [>>]

Send your comments, Suggestions or Queries regarding this site at [email protected].

Copyright © 2004. All rights reserved.