Sunteți pe pagina 1din 31

a

Presentation on Training AT
Road Ahead Techonolgy Pvt. Ltd.

During
12th May 2010 to 18th June 2010

Session: 2010-2011

By:
Bijeet
Hazarika

Department Of Information Technology, KITE -


JAIPUR 1
Introduction
Present the syntax of Java
Introduce the Java API
Demonstrate how to build
stand-alone Java programs
Java applets, which run within browsers e.g. Netscape
Example programs
Road Ahead has also excelled in training on latest IT trends such as
Embedded Robotics, Geoinformatics, IT Management, etc. Road Ahead
Technologies is most popular in the young engineers in Rajasthan
because of its very unique industrial summer training program ‘Based on
Technical Psyche’.

VISION:
“Road Ahead team firmly believes in having a vision and focus in applying
the expertise and experience gathered in the past years.”
We believe that working to realize our vision will enable us to be different
from other IT companies cluttering the business space, achieving job
satisfaction and attracting the best talent to our organization.

 SISTER CONCERN:
• Foursep Technologies
• Road Ahead Infotech
12/08/2021 3
•FOURSEP TECHNOLOGIES:
Foursep Technologies was established in 2007 in Jaipur by Mr. Abhishek
Jain. The company was set up as a sister concern of Road Ahead
Technologies (I) Pvt. Ltd, Jaipur which provides technology solutions to
Young professionals & IT students of Rajasthan.
The Company provides software products and IT services for a variety of
industry verticals including Insurance, Banking, Government,
Manufacturing and Retail. These solutions and

•ROAD AHEAD INFOTECH:


Established in 2009, as a sister concern of Road Ahead Technologies (I)
Pvt. Ltd., the company has been promoted by some highly experienced
Professionals dedicated to provide a quality study material under one roof.
It possesses not only the latest technology gadgets but also the most
knowledgeable and experience hands to offers most user friendly
customized course content for various technologies.

12/08/2021 4
ACHIEVEMENTS:
• Their recent achievements is tie-up with UGC approved State
University.
• They are providing an opportunity of doing Live projects in
various renound companies of IT sector.
• In a very short span, they have trained more than 5000 IT
professionals from almost every part of Rajasthan.

MANAGEMENT TEAM:
Mr. Abhishek Jain is the Director of Road Ahead Technologies (I)
Pvt. Ltd. and all its branch officers. Mr. Jain is a young IT Engineer
with over 7 years of experience in Computer Software & Training
Industry. Mr. Jain primarily handles the Technical & Training
portfolios of Road Ahead Technologies (I) Pvt. Ltd.

12/08/2021 5
Why Java?
• It’s the current “hot” language
• It’s almost entirely object-oriented
• It has a vast library of predefined objects
and operations
• It’s more platform independent
– this makes it great for Web programming
• It’s more secure
• It isn’t C++

12/08/2021 6
Applets, Servlets and
Applications
• An applet is designed to be embedded in
a Web page, and run by a browser
• Applets run in a sandbox with numerous
restrictions; for example, they can’t read
files and then use the network
• A servlet is designed to be run by a web
server
• An application is a conventional program

12/08/2021 7
COMPANY PROFILE
•About the Company
•Vision
•Sister Concern
•Achievements
•Management Team

ABOUT THE COMPANY:


Road Ahead Technologies (I) Pvt. Ltd. started its operations on
September 4, 2004. It offers a comprehensive curriculum that is
structured to ensure a rigorous intellectual experience in which
students will be well prepared for all types of legal employment in
all regions of the country.Their distinctive mission provides the
faculty with an opportunity to incorporate the rich intellectual
tradition.

12/08/2021 8
TECHNOLOGY
Java is a programming language originally developed by James
Gosling in 1991 at Sun Microsystems(which is now a subsidiary of
Oracle Corporation) and released in 1995 as a core component of
Sun Microsystems' Java platform. The language derives much of
its syntax from C and C++ but has a simpler object model and
fewer low-level facilities. Java applications are typically compiled
to bytecode (class file) that can run on any Java Virtual Machine
(JVM) regardless of computer architecture. Java is general-
purpose, concurrent, class-based, and object-oriented, and is
specifically designed to have as few implementation
dependencies as possible. It is intended to let application
developers "write once, run anywhere". Java is considered by
many as one of the

12/08/2021 9
JAVA TECHNOLOGY IS :
• A programming language
• A development environment
• An application environment
• A deployment environment

As a programming language, Java can create all kinds of applications


that you could create using any conventional programming language.
As a development environment , it provides large suite of tools such
as: A compiler (javac), an interpreter(java), javadoc etc.
Java applications are typically general- purpose programs that run on
any machine where JRE is installed.
There are two main deployment environments :
1. The JRE supplied by the Java 2 SDK contains the complete set of
class files for all Java tech. packages
2. The other is on your web browser, they supply a Java tech. interpreter
& runtime environment.

12/08/2021 10
Classification of JAVA Language
JAVA SE (Standard Edition of Java)

JAVA EE (Enterprise Edition java)

JAVA ME (Micro Edition) Java

JAVA FX

JAVA CARDS

12/08/2021 11
JAVA SE (Standard Edition of Java)
Core Java is divided in two parts:-
1. Console Programming
2. Window Programming
Version New Language features
1.0 The language itself
1.1 Inner classes
1.2 Swing
1.3 Runtime system functionality
1.4 Assertion
1.5 Generic classes, “for each” loop, varags, autoboxing,
metadata, enumerations, static import
6.0 New classes in collection framework, improved security,
Desktop class, systemTray and Traylcon class, Dynamic
compilation

12/08/2021 12
Building Standalone JAVA Programs (on UNIX)

Prepare the file foo.java using an editor


Invoke the compiler: javac foo.java
This creates foo.class
Run the java interpreter: java foo
Java Virtual Machine
The .class files generated by the compiler are not
executable binaries
so Java combines compilation and interpretation
Instead, they contain “byte-codes” to be executed by
the Java Virtual Machine
other languages have done this, e.g. UCSD Pascal
This approach provides platform independence, and
greater security
HelloWorld (standalone)
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}

Note that String is built in


println is a member function for the System.out
class
Comments are almost like C++
 /* This kind of comment can span multiple lines */
 // This kind is to the end of the line
 /**
* This kind of comment is a special
* ‘javadoc’ style comment
*/
Primitive data types are like C
Main data types are int, double, boolean, char
Also have byte, short, long, float
boolean has values true and false
Declarations look like C, for example,
double x, y;
int count = 0;
Expressions are like C
Assignment statements mostly look like those in C;
you can use =, +=, *= etc.
Arithmetic uses the familiar + - * / %
Java also has ++ and --
Java has boolean operators && || !
Java has comparisons < <= == != >= >
Java does not have pointers or pointer arithmetic
Control statements are like C
if (x < y) smaller = x;
if (x < y){ smaller=x;sum += x;}
else { smaller = y; sum += y; }
while (x < y) { y = y - x; }
do { y = y - x; } while (x < y)
for (int i = 0; i < max; i++) sum += i;
BUT: conditions must be boolean !
Control statements II
switch (n + 1) {
case 0: m = n - 1; break;
case 1: m = n + 1;
case 3: m = m * n; break;
default: m = -n; break;
}
Java also introduces the try statement, about which
more later
Java isn't C!
In C, almost everything is in functions
In Java, almost everything is in classes
There is often only one class per file
There must be only one public class per file
The file name must be the same as the name of that
public class, but with a .java extension
Java program layout
A typical Java file looks like:

import java.awt.*;
import java.util.*;
public class SomethingOrOther {
// object definitions go here
...
}

This must be in a file named SomethingOrOther.java !


What is a class?
Early languages had only arrays
all elements had to be of the same type
Then languages introduced structures (called
records, or structs)
allowed different data types to be grouped
Then Abstract Data Types (ADTs) became popular
grouped operations along with the data
So, what is a class?
A class consists of
a collection of fields, or variables, very much like the
named fields of a struct
all the operations (called methods) that can be
performed on those fields
can be instantiated
A class describes objects and operations defined on
those objects
Name conventions
Java is case-sensitive; maxval, maxVal, and MaxVal are
three different names
Class names begin with a capital letter
All other names begin with a lowercase letter
Subsequent words are capitalized: theBigOne
Underscores are not used in names
These are very strong conventions!
The class hierarchy
Classes are arranged in a hierarchy
The root, or topmost, class is Object
Every class but Object has at least one superclass
A class may have subclasses
Each class inherits all the fields and methods of its
(possibly numerous) superclasses
An example of a class
class Person {
String name;
int age;
void birthday ( ) {
age++;
System.out.println (name + ' is now ' + age);
}
}
Another example of a class
class Driver extends Person {
long driversLicenseNumber;
Date expirationDate;
}
Creating and using an object
Person john;
john = new Person ( );
john.name = "John Smith";
john.age = 37;
Person mary = new Person ( );
mary.name = "Mary Brown";
mary.age = 33;
mary.birthday ( );
An array is an object
Person mary = new Person ( );
int myArray[ ] = new int[5];
or:
int myArray[ ] = {1, 4, 9, 16, 25};
String languages [ ] = {"Prolog", "Java"};
THANK YOU
ANY QUERY?

12/08/2021 31

S-ar putea să vă placă și