java development companies in Bangalore

16

description

It is a programming language, it's mainly based on C language and C ++. Java application programs can be downloaded and compiled. It is an open source which doesn’t need any license fee each year. Java is portable and dynamic which supports multimedia. Java platform is designed to provide this "Write once, Run anywhere". Java is both extensible and dynamic. Dynamic Website uses java programming. Java is easy to learn, write and debug. Files of java are very easy to move from one system to another and run the same program in any system. Security is the major part of design, java provides very good platform for this kind of programming. It is also known for its multitask programming, it supports all languages. It allows creating modular programs and reusable codes. We have highly experienced java developers in our team to reach client's expectation. We deliver development and maintaining services. It can be executed and interpreted with the high performance. Java uses an automatic garbage collector to manage the memory. It can happen at any time, usually occur when a program is idle. Java doc is a comprehensive documentation system.

Transcript of java development companies in Bangalore

Page 1: java development companies in Bangalore
Page 2: java development companies in Bangalore

Introduction Present the syntax of JavaIntroduce the Java APIDemonstrate how to build

stand-alone Java programsJava applets, which run within browsers e.g.

Netscape

Page 3: java development companies in Bangalore

Why Java?It’s the current “hot” languageIt’s almost entirely object-orientedIt has a vast library of predefined objects and

operationsIt’s more platform independent

this makes it great for Web programmingIt’s more secureIt isn’t C++

Page 4: java development companies in Bangalore

Applets, Servlets and ApplicationsAn applet is designed to be embedded in a

Web page, and run by a browserApplets 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

Page 5: java development companies in Bangalore

Java Virtual MachineThe .class files generated by the compiler are

not executable binariesso Java combines compilation and

interpretationInstead, they contain “byte-codes” to be

executed by the Java Virtual Machineother languages have done this, e.g. UCSD

PascalThis approach provides platform

independence, and greater security

Page 6: java development companies in Bangalore

HelloWorld (standalone)

Note that String is built inprintln is a member function for the

System.out class

public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World!"); }}

Page 7: java development companies in Bangalore

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 */

Page 8: java development companies in Bangalore

Primitive data types are like CMain data types are int, double, boolean, char

Also have byte, short, long, floatboolean has values true and falseDeclarations look like C, for example,

double x, y;int count = 0;

Page 9: java development companies in Bangalore

Expressions are like CAssignment 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

Page 10: java development companies in Bangalore

Java program layoutA 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 !

Page 11: java development companies in Bangalore

What is a class?Early languages had only arrays

all elements had to be of the same typeThen languages introduced structures

(called records, or structs)allowed different data types to be grouped

Then Abstract Data Types (ADTs) became populargrouped operations along with the data

Page 12: java development companies in Bangalore

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 instantiatedA class describes objects and operations

defined on those objects

Page 13: java development companies in Bangalore

Name conventionsJava is case-sensitive; maxval, maxVal, and

MaxVal are three different namesClass names begin with a capital letterAll other names begin with a lowercase letterSubsequent words are capitalized: theBigOneUnderscores are not used in namesThese are very strong conventions!

Page 14: java development companies in Bangalore

The class hierarchyClasses are arranged in a hierarchyThe root, or topmost, class is ObjectEvery class but Object has at least one

superclassA class may have subclassesEach class inherits all the fields and methods

of its (possibly numerous) superclasses

Page 15: java development companies in Bangalore

Presented By: 5ine Web solution pvt. Ltd

http://www.5ine.in 5ine Web Solutions Pvt. Ltd.

Bengaluru, Karnataka , India 560078

Mobile +91-88844-11366 Landline +91-80-26663298

Email : [email protected]

Page 16: java development companies in Bangalore

Thank you.