Saturday, February 27, 2016
Friday, February 26, 2016
Introduction
Note: Before you start this tutorial, you must have downloaded and installed the Java SE Development Kit.
It’s traditional to start learning a new programming language by writing a program called "Hello World". You can think of it as a very simple initiation into the ranks of Java programmers. All the program does is write the text "Hello World!" to your computer screen.
The basic steps we will follow for our Hello World program are:
- Write the program in Java
- Compile the source code
- Run the program
Thursday, February 25, 2016
Introduction to Object-Oriented Programming
Java is designed around the principles of object-oriented programming. To truly master Java you must understand the theory behind objects. This article is an introduction to object-oriented programming outlining what objects are, their state and behaviors and how they combine to enforce data encapsulation.
What Is Object-Oriented Programming?
To put it simply, object-oriented programming focuses on data before anything else.
How data is modeled and manipulated through the use of objects is fundamental to any object-oriented program.
What Are Objects?
If you look around you, you will see objects everywhere. Perhaps right now you are drinking coffee. The coffee mug is an object, the coffee inside the mug is an object, even the coaster it's sitting on is one too.
Object-oriented programming realizes that if we're building an application it's likely that we will be trying to represent the real world. This can be done by using objects.
Let's look at an example. Imagine you want to build a Java application to keep track of all your books. The first thing to consider in object-oriented programming is the data the application will be dealing with. What will the data be about? Books.
Further more:
Wednesday, February 24, 2016
Why download Java?
Java technology allows you to work and play in a secure computing environment. Upgrading to the latest Java version improves the security of your system, as older versions do not include the latest security updates.
Java allows you to play online games, chat with people around the world, calculate your mortgage interest, and view images in 3D, just to name a few.
Java software for your computer, or the Java Runtime Environment, is also referred to as the Java Runtime, Runtime Environment, Runtime, JRE, Java Virtual Machine, Virtual Machine, Java VM, JVM, VM, Java plug-in, Java plugin, Java add-on or Java download.
Further more: JAVA TRAINING IN KATHMANDU
Tuesday, February 23, 2016
java thory
Java – Theory
What is Java?
Java is a 3rd Generation Object Oriented programming Language, developed by James Gosling in the year 1995. It was initially codenamed as Green and hypothetically called Oak named after the Oak tree outside Gosling’s house.
It is case sensitive and has a unique two step translation process that includes both Compilation and Interpretation which makes Java Platform independent.
Java is a 3rd Generation Object Oriented programming Language, developed by James Gosling in the year 1995. It was initially codenamed as Green and hypothetically called Oak named after the Oak tree outside Gosling’s house.
It is case sensitive and has a unique two step translation process that includes both Compilation and Interpretation which makes Java Platform independent.
What is Procedure Oriented Programming Language?
Pop is a Procedural Oriented Programming Language. In this, the stress is laid on function rather than data. Data may be kept floating throughout the Programming. Hence by scanning the whole program from beginning to the end and we can rectify any error caused. E.g. of POP based language are GW-BASIC, C, etc…
Characteristics of POP
1) Emphasis is laid on functions (Logical steps).
2) Functions share global data.
3) Data values can keep floating from one function to another.
4) Uses top down approach of programming.
Pop is a Procedural Oriented Programming Language. In this, the stress is laid on function rather than data. Data may be kept floating throughout the Programming. Hence by scanning the whole program from beginning to the end and we can rectify any error caused. E.g. of POP based language are GW-BASIC, C, etc…
Characteristics of POP
1) Emphasis is laid on functions (Logical steps).
2) Functions share global data.
3) Data values can keep floating from one function to another.
4) Uses top down approach of programming.
Drawbacks of POP
1) As Data values are global to all the functions, you may require making necessary changes in the functions due to change in the data values.
2) It is not suitable to solve complex problems in real situations.
1) As Data values are global to all the functions, you may require making necessary changes in the functions due to change in the data values.
2) It is not suitable to solve complex problems in real situations.
What is Object Oriented Programming Language?
OOP is an Object Oriented Programming Language. It is a modular approach to programming in which equal stress is given to data as well as methods and it allows the data be applied within the stipulated program area. It also provides reusability features to develop productivity logic.
OOP is an Object Oriented Programming Language. It is a modular approach to programming in which equal stress is given to data as well as methods and it allows the data be applied within the stipulated program area. It also provides reusability features to develop productivity logic.
Features of OOP
1. It gives equal stress on data and function.
2. It makes the program simple by dividing it into a number of objects.
3. The objects can be used as a bridge to have data flow from one function to another.
4. Data can be easily modified without any change in the function.
1. It gives equal stress on data and function.
2. It makes the program simple by dividing it into a number of objects.
3. The objects can be used as a bridge to have data flow from one function to another.
4. Data can be easily modified without any change in the function.
Advantages of OOP
1) We can extend the use of existing class through inheritance.
2) Using the concept data hiding can generate secured program.
3) We can create different modules in our project through objects.
4) Multiple instances of an object can be generated to co-exist without any interference.
5) It is highly beneficial to solve complex problems.
6) It is easy to modified and maintain software complexity.
1) We can extend the use of existing class through inheritance.
2) Using the concept data hiding can generate secured program.
3) We can create different modules in our project through objects.
4) Multiple instances of an object can be generated to co-exist without any interference.
5) It is highly beneficial to solve complex problems.
6) It is easy to modified and maintain software complexity.
Examples of OOP based languages are Simula, C++, Java, Python, and Smalltalk etc…
Basic Principles of OOP
1) Encapsulation – Binding up of data members and member functions together into a single unit called (class) is called Encapsulation.
2) Data Abstraction – Act of representing only essential features without including its background details is called Data Abstraction.
3) Polymorphism – The ability of a method to behave in more than one form is called polymorphism. Function Overloading is a way to implement it, in which more than one function has the same name but different argument list.
4) Inheritance – The ability of a class to derive the properties from another class is called Inheritance. The class that inherits is called the Derived / Sub / Daughter class and the class from which it is derived is called Base / Super / Parent class. The keyword used to implement Inheritance is ‘extends’.
5) Object – It is an identifiable entity with some characteristics and behaviour.
6) Class – It is a blueprint that represents a set of objects which share common characteristics and behaviour.
1) Encapsulation – Binding up of data members and member functions together into a single unit called (class) is called Encapsulation.
2) Data Abstraction – Act of representing only essential features without including its background details is called Data Abstraction.
3) Polymorphism – The ability of a method to behave in more than one form is called polymorphism. Function Overloading is a way to implement it, in which more than one function has the same name but different argument list.
4) Inheritance – The ability of a class to derive the properties from another class is called Inheritance. The class that inherits is called the Derived / Sub / Daughter class and the class from which it is derived is called Base / Super / Parent class. The keyword used to implement Inheritance is ‘extends’.
5) Object – It is an identifiable entity with some characteristics and behaviour.
6) Class – It is a blueprint that represents a set of objects which share common characteristics and behaviour.
Related Terms
Monday, February 22, 2016
Principles of java
Principles
There were five primary goals in the creation of the Java language:
- It must be "simple, object-oriented, and familiar".
- It must be "robust and secure".
- It must be "architecture-neutral and portable".
- It must execute with "high performance".
- It must be "interpreted, threaded, and dynamic"
FURTHER MORE:
JAVA TRAINING IN KATHMANDUJAVA TRAINING IN LALITPUR
Sunday, February 21, 2016
course content of java training in kathmandu: openeyesit
Coures: JAVA
Duration: 2 months
Time: 6days/week (1 hour per class)
Course
Overview:
The Core Java technologies and application programming interfaces (APIs) are
the foundation of the Java Platform, Standard Edition (Java SE). They are used
in all classes of Java programming, from desktop applications to J2EE
applications.
After
completing this module you are ready to:
Develop
Desktop applications, Networking & Multi-threaded programs in java.
Appear
in SCJP exams
Update
yourself with Advance frameworks of java.
Why
Java at Openeyes IT Solution?
Industry
Compliant Syllabus
Multi-Platform
Demonstration
Product
Based Training
Real-Time
Case Studies
Use of
Latest Tools & Technology
Workshops
on New Technologies
SCJP
Orientation Classes
Introduction
Programming
language Types and Paradigms.
Computer
Programming Hierarchy.
How
Computer Architecture Affects a Language ?
Why
Java ?
Flavors
of Java.
Java
Designing Goal.
Role
of Java Programmer in Industry.
Features
of Java Language.
JVM
–The heart of Java
Java’s
Magic Bytecode
JAVA TRAINING IN KATHMANDU:: OPENEYESIT |
Language
Fundamentals
The
Java Environment:
Installing
Java.
Java
Program Development
Java
Source File Structure
Compilation
Executions.
Basic
Language Elements:
Lexical
Tokens, Identifiers
Keywords,
Literals, Comments
Primitive
Datatypes, Operators
Assignments.
Object
Oriented Programming
Class
Fundamentals.
Object
& Object reference.
Object
Life time & Garbage Collection.
Creating
and Operating Objects.
Constructor
& initialization code block.
Access
Control, Modifiers, methods
Nested
, Inner Class &Anonymous Classes
Abstract
Class & Interfaces
Defining
Methods, Argument Passing Mechanism
Method
Overloading, Recursion.
Dealing
with Static Members. Finalize() Method.
Native
Method. Use of “this “ reference.
Use of
Modifiers with Classes & Methods.
Design
of Accessors and Mutator Methods
Cloning
Objects, shallow and deep cloning
Generic
Class Types
Extending
Classes and Inheritance
Use
and Benefits of Inheritance in OOP
Types
of Inheritance in Java
Inheriting
Data Members and Methods
Role
of Constructors in inheritance
Overriding
Super Class Methods.
Use of
“super”.
Polymorphism
in inheritance.
Type
Compatibility and Conversion
Implementing
interfaces.
Package
Organizing
Classes and Interfaces in Packages.
Package
as Access Protection
Defining
Package.
CLASSPATH
Setting for Packages.
Making
JAR Files for Library Packages
Import
and Static Import
Naming
Convention For Packages
Exception
Handling:
The
Idea behind Exception
Exceptions
& Errors
Types
of Exception
Control
Flow In Exceptions
JVM
reaction to Exceptions
Use of
try, catch, finally, throw, throws in Exception Handling.
In-built
and User Defined Exceptions
Checked
and Un-Checked Exceptions
Array
& String :
Defining
an Array
Initializing
& Accessing Array
Multi –Dimensional
Array
Operation
on String
Mutable
& Immutable String
Using
Collection Bases Loop for String
Tokenizing
a String
Creating
Strings using StringBuffer
Thread :
Understanding
Threads
Needs
of Multi-Threaded Programming.
Thread
Life-Cycle
Thread
Priorities
Synchronizing
Threads
Inter
Communication of Threads
Critical
Factor in Thread -DeadLock
Applet
Applet
& Application
Applet
Architecture.
Parameters
to Applet
Embedding
Applets in Web page.
Applet
Security Policies
A
Collection of Useful Classes
Utility
Methods for Arrays
Observable
and Observer Objects
Date
& Times
Using
Scanner
Regular
Expression
Input/Output
Operation in Java(java.io Package)
Streams
and the new I/O Capabilities
Understanding
Streams
The
Classes for Input and Output
The Standard
Streams
Working
with File Object
File
I/O Basics
Reading
and Writing to Files
Buffer
and Buffer Management
Read/Write
Operations with File Channel
Serializing
Objects
GUI
Programming
Designing
Graphical User Interfaces in Java
Components
and Containers
Basics
of Components
Using
Containers
Layout
Managers
AWT
Componets
Adding
a Menu to Window
Extending
GUI Features Using Swing Components
Java
Utilities (java.util Package)
The
Collection Framework :
Collections
of Objects
Collection
Types
Sets
Sequence
Map
Understanding
Hashing
Use of
ArrayList & Vector
Event
Handling
Event-Driven
Programming in Java
Event-
Handling Process
Event-Handling
Mechanism
The
Delegation Model of Event Handling
Event
Classes
Event
Sources
Event
Listeners
Adapter
Classes as Helper Classes in Event Handling
Anonymous
Inner classes a Short –cut to Event Handling
Avoiding
Deadlocks in GUI Code
Event
Types & Classes
Networking
Programming
Networking
Basics
Client-Server
Architecture
Socket
Overview
Networking
Classes and Interfaces
Network
Protocols
Developing
Networking Applications in Java
Database
Programming using JDBC
Introduction
to JDBC
JDBC
Drivers & Architecture
CURD
operation Using JDBC
Connecting
to non-conventional Databases.
Mail
API
Introduction to Email Technical
Internals
Understanding
of POP and SMTP framework
Complete
understanding the email API
Further more: java training in kathmandu at openeyesit
java training in lalitpur at peneyesit
Saturday, February 20, 2016
java training
Java is a general-purpose computer programming language that is concurrent, class-based, object-oriented, and specifically designed to have as few implementation dependencies as possible. It is intended to let application developers "write once, run anywhere" (WORA), meaning that compiled Java code can run on all platforms that support Java without the need for recompilation. Java applications are typically compiled to bytecode that can run on any Java virtual machine (JVM) regardless ofcomputer architecture. As of 2016, Java is one of the most popular programming languages in use, particularly for client-server web applications, with a reported 9 million developers.Java was originally developed by James Gosling atSun Microsystems (which has since been acquired by 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 it has fewer low-level facilities than either of them.
Further more:
java training in kathmandu at openeyesit |
Further more:
Java training in kathmandu at openeyesit
Java training in lalitpur at openeyesit
Friday, February 19, 2016
contact us for java training at openeyesit
java training in openeyesit |
Contact us 01-5520177
Mobile: 9843617299/9818710707
Website: www.openeyesit.com || www.peneyes.com
Email: info@openeyesit.com
Facebook: www.facebook.com/openeyesit
Twitter: www.twitter.com/openeyesit
Thursday, February 18, 2016
java training in kathmandu:: OPEN EYES IT SOLUTION
Company Profile
Openeyes IT Solution, is a finest IT institute
of training, development and placement which is located at the heart of
Kathmandu. It is providing quality and professional programming knowledge to
the students from a decade to meet the real world’s need of professionals in a
friendly environment of engineers having 2-10 years of experience in both
development and teaching.
Values
So
we believe in practical and project based learning for better half. We go with
a motto “Our expert can make you one” as we innovate and inspire the
student to choose the IT field.
Vision
As
today’s IT world is drastically changing our lives. Openeyes IT Solution’s
vision is to focus on the programming of IT market everyday. Not only focusing
it also addresses the need of the programming by providing professional
education and producing professionals who can stand in this changing IT World.
Openeyes
has a vision to provide a quality and practical knowledge about programming
with 100% internship and job placement in the top level IT companies over Nepal
for survival in this tough and competitive world.
Further more details visit:
JAVA training in kathmandu
JAVA training in lalitpur
Subscribe to:
Posts (Atom)