Forth
Forth
process in the form of project work. We are very fortunate to have Mr.Pankaj Panjwani(CEO of
YCT Academy) in YCT Academy as our trainee and mentor.
While working on this project, their patience and valuable hints helped us in sailing
through the rough seas. They were generous enough to lend us their time, experience and
expertise.
We also acknowledge, with great thanks, our Head of the Centre and Program Coordinator
Mr.Pankaj Panjwani for their encouragement and suggestions that we were provided at different
stages while working on this project and all the staff members of our department for all the help
that they have extended to us.
Last but not the least, we are also thankful to all our friends without whose help this process
would have been unexpectedly protracted and the meeting of deadlines would have been
impossible.
Index
S. No PAGE NO.
1. Company Profile
2. Introduction To Java
3. The Java Platform
4. Installation Of Java
5. Configuring Variable
6. Write, Compile And Run a Java Program
7. Package
8. Class & Object
9. Inheritance
10.Variable And Method
11.Modifiers And Import Statement
12.Interface
13.IDE
14.History of Java
15.Working With Classes
16.Features of Java
COMPANY PROFILES
Simple and easy to use - Java's creators tried to design it so code could be written
efficiently and easily.
Multi-functional - Java can produce many applications from command-line
programs to applets to Swing windows (basically, sophisticated graphical user
interfaces).
Java does have some drawbacks. Since it has automated garbage collection, it can
tend to use more memory than other similar languages. There are often
implementation differences on different platforms, which have led to Java being
described as a "write once, test everywhere" system. Lastly, since it uses an
abstract "virtual machine", a generic Java program doesn't have access to the
Native API's on a system directly. None of these issues are fatal, but it can mean
that Java isn't an appropriate choice for a particular piece of software.
The Java Platform
One thing that distinguished Java from some other languages is its ability to run
the same compiled code across multiple operating systems.In other languages,
the source code (code that is written by the programmer), is compiled by a
compiler into an executable file. This file is in machine language, and is intended
for a single operating system/processor combination, so the programmer would
have to recompile the program seperately for each new operating
system/processor combination.Java is different in that it does not compile the
code directly into machine language code. Compilation creates bytecode out of
the source code. Bytecode generally looks something like this:
a7 f4 73 5a 1b 92 7d
When the code is run by the user, it is processed by something called the Java
Virtual Machine (JVM). The JVM is essentially an interpreter for the bytecode. It
goes through the bytecode and runs it. There are different versions of the JVM
that are compatible with each OS and can run the same code. There is virtually no
difference for the end-user, but this makes it a lot easier for programmers doing
software development.
Java and Open Source:-
In 2006 Sun started to make Java available under the GNU General Public License
(GPL). Oracle continues this project called OpenJDK.
Java programs are compiled by the Java compiler into bytecode. The Java virtual
machine interprets this bytecode and executes the Java program.
Java Runtime Environment vs. Java Development Kit