0% found this document useful (0 votes)
11 views4 pages

Overview of Java Environment Tools

The document provides an overview of the Java environment, detailing the Java Development Kit (JDK) and Java Standard Library (JSL), including their components and functionalities. It explains the tools within the JDK used for compiling, interpreting, and debugging Java programs, as well as the classes in the JSL that support various Java functions. Additionally, it covers programming methods, exception handling, I/O operations, and constants and variables in Java.

Uploaded by

Arjan Shrinivas
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views4 pages

Overview of Java Environment Tools

The document provides an overview of the Java environment, detailing the Java Development Kit (JDK) and Java Standard Library (JSL), including their components and functionalities. It explains the tools within the JDK used for compiling, interpreting, and debugging Java programs, as well as the classes in the JSL that support various Java functions. Additionally, it covers programming methods, exception handling, I/O operations, and constants and variables in Java.

Uploaded by

Arjan Shrinivas
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Java Environment:- The java environment compare a set of tools and classes

that are used to run java program there are.


 Java Development Kit(JDK)
 Java Standard Library(JSL)

 Java Development kit:- It contain various tools used by the java runtime
environment(JRE)that can by used to compile and internet java program.
The java tools include java compiler, java interpreter, java disassembles
and java debugger. JRE is s/w that is used to execute the java program.
The JDK contain following tools to run and execute the java programs
these are.
 Applet viewer allows to run java applet.
 Java c is a java compiler that translate the java source code into java class
file or the byte code files that can be interpreted by the java interpreter.
 Java is a java interpreter that execute various application by interpreting
the byte code file.
 Java M is used for including the c header file in a java program.
 Java P is act as a dissembler and is used to convert byte code files into a
source code files.
 Java is to creates documentation of the java source code file in html
format from the comment available in the java source code.
 Java data is a java debugger that locate errors in a java program.
Basic Configuration Of The Java Tools.

Java Source HTML


Code. Document.
!
Java Compiler.

!
Java Interpreter. Java Debugger.

!
Out Put.
Java Standard Library:- It is one of the most accretive feature of java
that contain various classes to support all major function of java standard library
include the following classes.
(1)Language Support Classes:- Which support basic feature java such as
string, array and exception handling.
(2) Utility Classes:- These are use for various function in java program such as
random number generate function, data and time function and container classes
function.
(3) I/0 Classes:- These are used to reach data from various input like key board
and write the data on various output devise such as printer and monitor.
(4) Networking Classes:- These classes allow to the program communicate b/w
the different computer.
(5) Abstract Window Tool Kit(AWT):- It is used to create applets which can
be down loaded and run on a client browser.
Java Classes:-
Programming Method:-

Java File:- All the java programs are returned in a file using notepad, dos editor
or any other typing package in English language the file name of java program
consist of extensive name. Since the system is 32 bits system it allowed longer
file.
Syntax “File. Java”

Example. “Welcome. Java”

The java system is a complex system in which programming perform by three


technique.
(1)Applet Method
(2)Main Method
(3)Para Tag
The first technique of programming is an applet used a browser for operation
and the program is loaded on this applet the result of the program are view on
the applet and data is entered from the applet.

The second technique of programming the DOS screen is utilized to operate the
program is compiled and run from the DOS screen and the result are viewed
also on DOS screen.

In the third technique of program the applet is used for display of result and the
data to the program is supplied through html file.
The JVM perform three general when it first attempt when it first attempt to
execute code belonging to the class.
(1)Loading:-This gives the class name and determine the binary form for the
class.
(2)Linking:-This convert the class binary form so that it can be merge into
virtual machine.
(3)Initialization:-This execute static initialization for the class and the class
variable.

Main Method Or Application Method In Java:-The java program return with


main method is executed using java interpreter the public class name is return in
the beginning of the program and then a statement is return.
public Static void main(String args[]).
There are exception for executed cases during a program execution which may
occur. These exception can be proposed to allow the program to continue in
which case the program may terminate if we want to ignore exception we must
indicate to the compiler by key word throws for the exception.
Ex:-Throws Io Exception.
I/O Objects:-The standard output stream object is system. Out which output the
information to the standard output stream normally connected to the screen.
[Link]():-This sent its arguments to the screen to be display when
using this method the character which form the output are place in a buffer and
not actually display on screen.
EX:-System. Out . print(“The value of A=”+a);
Output:-The value of A
[Link]:-This sent is argument to the screen to be display the result
are printed and new line control is executed.
Ex:-[Link](“The value of A=”+a)
[Link]():- It obtain input from the standard input devise this reads one
character from the keyboard and returns it as it integer value which is the
character’s numerical representation of the java program.
[Link](“Enter value of a” +a)

Escape Sequence character:-The escape sequence characters are the character


used in the main method for transform of control to the new statement.
Type OF Char Meaning
\n Newline char
\t Tab 8 char
\r Carriage returns to
start of line
\\ print a back slash

\; Single code to print to


Single code.
\” doubles code
Comment Statement:-(\\*-----------*)
Constant In Java:-There are four type of constant in java.
(1)Integer constant:10,20,100etc
(2)Float or double constant:10.26
(3)Exponent constant: Devangshu Roy
Variables In Java:-Java language 8 Varity of variable
Type Size Range
Boolean 1 True or false
Char 16 \’4000to4ffff’\
Byte 8 -128+127
Short 16 -32768+32767
Int 32 -2*10^to+2*10
Long 64 -9*10 to+9*10
Float 32 -3.4E8to+3.4038
Double 64 -1.7eE308to+1.7E308

You might also like