Wednesday 24 January 2018


oops concept in java

Java Training (Emrotech : 987603079)



Object Oriented Programming
In the case of the object oriented programming,we have the concept of classes and objects.
The class defines the  general category and the object is the instance or occurrence of the class. Suppose ,
 Diagram explaining the classes & objects


Features of Object Oriented Porgramming
1. Encapsulation
2. Data Abstraction
3. Data Hiding
4. Inheritance
5. Polymorphism

1. Encapsulation :
The process of binding the data items as well as the code which manipulate these data items into a single entity is known as encapulation and that entity is known as the class.

2. Data Abstraction :
As we know that the class contains the data items and as well as the methods or function which manipulate these data items. But , if we want to access any of the member of the class , we have to first create the object of that class. Without object we cannot access any of the member of the class.

3. Data Hiding :
As we know that in order to access any of the member of the class, we have to first create the object of the class. But sometimes even by making use of the object of the class , we are not able to access some member.
This is due to data hiding .
And the Data hiding is made possible due to the access control specifiers .
* Private
* Public
* Protected
* Private : The elements or the members which are defined as private cannot be accessed by the object of  the class.
* Public : The elements or the members which are defined as public are accessed directly by the object of  the class.

4. Inheritance :

The process of creating a new class on the basis of the existing class is known as Inheritance.The existing class is known as the base class and the new class is known as the derived class.
The derived class will have more or less all the properties of the base class and some of the properties of its own.

5. Polymorphism
The term poly means many and morphism means forms and the concept of the polymorphism is to use the singly entity for the variety of different purposes.
In data base polymorphism is implemented through,
* Method Overloading
* Dynamic Binding.






Setting Path in  Java:

In case to java,we have to execute the program in the DOS environment.
DOS which is a command driven operating system.In case of DOS,
every thing is executed as per the command given by the user.

There are so many commands in the DOS , so all the command are categorized into ,
(i) Internal commands
(ii) External commands
(i) Internal commands are those commands which always present in the primary memory.
(ii) External commands are those commands which are present on the secondary memory as files.So, before executing these commands we have to set the path where these commands files are present.
The location is specified using the PATH command.
PATH="C:\windows;c:\windows\system"
So, whenever we give an external command  "MS DOS" will look for that external command related file in the current directory,and if the file corresponding to it is not present in the current directory, then it will search for that files in the directories specified with the path command , so it will first look in c:\windows and then in c:\windows\system.

If the file is not found there then it will give an error message ,
"Bad Command or File Name"
Take the following steps:

(i) Double click on the My Computer icon on the desktop .
This is the image of my computer, where we can select the properties

(ii) In the My Computer window find out where the java software i.e. JDK(JavaDevelopmentKit)  is installed.

(iii) Copy the path including the location of the BIN  directory,
In our case it is ,
        C:\j2sdk1.4.1_03\bin
(iv) Right click on the My  Computer icon present on the desktop.And from the sub menu click on the properties option.

(v) The System Properties dialog box will appears on the screen click on the Advanced Tab.

(vi) Click on the Environment Variables button .

(vii) From the list of the System variables ,select path and click on edit button, And type the java path in following manner

(viii) Now ,close all the dialog boxes by clicking on the ok button.And restart the computer ,so make the path take the effect.
(ix) Now after restarting open MS-DOS prompt,

Start->Run...

Type cmd in the run dialog box
MS-DOS terminal window will appear on the screen

To check java is configured, type javac and press enter.

The help regarding javac command indicated that the java path is perfectly set.
        Now, we have a program with name Sample.java in directory core in d:\
(x) Move to core directory :



(xi) Run the program


Industrial training

Industrial Training

We always think that why we need to do this  Industrial Training, Actually it is a very valid Question form your side, But no buddy is  trying you make you understand that why it is necessary to do and what we will learn in these 30 or 45 days. actually the main purpose of this Industrial Training is to give you a small introduction with this word Industry, There is a huge gape in between college studies and Industrial work, So this Industrial Training is only a small try to make you familiar with this word.  "Ministry of Skill Development and Entrepreneurship, This is the ministry of  Union Government to provide training in various trades. means Government wants that people should skilled under this for their good future. we have number of Government institution those are providing the training in various sector like railways is one of the best example for Industrial Training. This origination is a huge origination  those are working for Industrial Training programs 

MATLAB Industrial Training

Python Industrial Training
php Industrial Training
web design Industrial Training
Android Industrial Training
java Industrial Training