Mahakal Institute of Technology Ujjain Madhya Pradesh: Department of Computer Science and Engineering
Mahakal Institute of Technology Ujjain Madhya Pradesh: Department of Computer Science and Engineering
INTRODUCTION
Java is one of the programming language or technology used for developing web
applications. Java language developed at SUN Micro Systems in the year 1995
under the guidance of James
Gosling and there team. Originally SUN Micro Systems is one of the Academic
university (Standford University Network)
Whatever the software developed in the year 1990, SUN Micro Systems has
released on the name of oak, which is original name of java (scientifically oak is
one of the tree name). The OAK has taken 18 months to develop. The oak is
unable to fulfill all requirements of the industry. So James Gosling again reviews
this oak and released with the name of java in the year 1995. Scientifically java is
one of the coffee seed name.
J2SE
J2EE
J2ME
ORGANISATION
HP the largest IT company in the world, through its partner offers high quality
Courses for 4 & 6 weeks. Few Courses in Summer Training Program are
Programming Techniques using 'C', PHP, VLSI, VHDL & PCB Design, Data
Structure using C Language, Core Java, J2EE - Hibernate with Spring Framework,
J2EE - Struts with Hibernate Framework, Android, ASP.NET With C#, Embedded &
Robotics-Basics & Advanced, ARM, Linux Administration with Scripting,
Networking concepts with security.
(BASICS OF JAVA)
Overview Of Java
Define JRE
The Java Runtime Environment (JRE) is part of the Java Development Kit (JDK). It
contains set of libraries and tools for developing java application. The Java
Runtime Environment provides the minimum requirements for executing a Java
application.
Define JVM
JVM is set of programs developed by sun Micro System and supplied as a part of
jdk for reading line by line of byte code and it converts into native understanding
form of operating system. Java language is one of the compiled and interpreted
programming language
Submitted by:- Vishal Kumbhkar, Vivek Gupta, Raj Singh, Vaidang Thakur, Saksham Desai ,Yash Khatri
Mahakal Institute of Technology Ujjain Madhya Pradesh
Department of Computer Science and Engineering
( Session : 2024-25)
Garbage Collector
Garbage Collector is the system Java program which runs in the background
along with regular Java program to collect un-Referenced (unused) memory
space for improving the performance of our applications.
Define an API
Definition of JIT
JIT is the set of programs developed by SUN Micro System and added as a part of
JVM, to speed up the interpretation phase.
Features Of JAVA :
Features of a language are nothing but the set of services or facilities provided by
the language vendors to the industry programmers. Some important features are
Mahakal Institute of Technology Ujjain Madhya Pradesh
Department of Computer Science and Engineering
( Session : 2024-25)
Path Variable
Path variable set for providing path for all java tools like java, javac, javaę, javah,
jar, appletviewer which are ase in java programming. These all tools are available
in hin folders so we set path upto bin folders.
Classpath Variable
Classpath variable is set for providing path for predefined java classes which is
used in our application. All classes are available in lib/rt.jar so we set classpath
upto filvit.jar
The following sequence of steps represented in the diagram use compiling the
java program and executing the java programs.
Submitted by:- Vishal Kumbhkar, Vivek Gupta, Raj Singh, Vaidang Thakur, Saksham Desai ,Yash Khatri
Mahakal Institute of Technology Ujjain Madhya Pradesh
Department of Computer Science and Engineering
( Session : 2024-25)
JVM, JRE, JDK these all the backbone of java language. Each
components have separate works. Adk and Fre physically exists but
JVM are abstract machine it means it not physically exists.
Submitted by:- Vishal Kumbhkar, Vivek Gupta, Raj Singh, Vaidang Thakur, Saksham Desai ,Yash Khatri
Mahakal Institute of Technology Ujjain Madhya Pradesh
Department of Computer Science and Engineering
( Session : 2024-25)
Object is the physical as well as logical entity where as class is the only
logical entity. Class: Class is a blue print which is containing only list of
variables and method and no memory is allocated for them. A class is a
group of objects that has common properties.
Data Member
Method
Constructor
Block
characteristics:
State
Behavior
Identity
Data Types :
Variable :
Variable is an identifier which holds data or another one variable is an identifier
whose value can be changed at the execution time of program. Variable is an
identifier which can be used to identify input data in a program.
Arithmetic Operators
Relational Operators
Logical Operators
Bitwise Operators
Assignment Operators
Submitted by:- Vishal Kumbhkar, Vivek Gupta, Raj Singh, Vaidang Thakur, Saksam Desai ,Yash Khatri
Mahakal Institute of Technology Ujjain Madhya Pradesh
Department of Computer Science and Engineering
( Session : 2024-25)
Abstract Classes
We know that every java program must start with a concept of class that is
without classes concept there is no java program perfect. In java programming
we have two types of classes they are
1. Concrete class
2 Abstract class
Types of constructors
Based on creating objects in Java constructor are classified in two types. They
are
Parameterized constructor
Mahakal Institute of Technology Ujjain Madhya Pradesh
Department of Computer Science and Engineering
( Session : 2024-25)
Inheritance
The process of obtaining the data members and methods from one class to
another class is known as inheritance. It is one of the fundamental features of
object-oriented programming.
Types of Inheritance
Single inheritance
Multiple inheritance
Hierarchical inheritance
Multilevel inheritance
Hybrid inheritance
Mahakal Institute of Technology Ujjain Madhya Pradesh
Department of Computer Science and Engineering
( Session : 2024-25)
Method Overloading
Whenever same method name is exiting multiple times in the same class with
different number of parameter or different order of parameters or different types
of parameters is known as method overloading.
Suppose we have to perform addition of given number but there can be any
number of arguments, if we write method such as alint, int)for two arguments,
blint, int, int) for three arguments then it is very difficult for you and other
programmer to understand purpose or behaviors of method they can not identify
purpose of method. So we use method overloading to easily figure out the
program. For example above two methods we can write sum(int, int) and sumtint,
int, int) using method overloading concept.
Method Overriding
Whenever same method name is existing in both huse class and derived clans
with sarne types of parameters or same order of parameters is known as method
Overriding.
Interface
Abstraction
Abstraction shows only important things to the user and hides the internal details
for example when we ride a bike, we only know about how to ride bike but can not
know about how it work? and also we do not know internal functionality of bike.
Submitted by:- Vishal Kumbhkar, Vivek Gupta, Raj Singh, Vaidang Thakur, Saksham Desai, Yash Khatri
Mahakal Institute of Technology Ujjain Madhya Pradesh
Department of Computer Science and Engineering
( Session : 2024-25)
Encapsulation
Benefits of encapsulation
Polymorphism
JAVA ADVANCED
Package
Purpose of package
Exception Handling
The process of converting system error messages into user friendly error
message is known as Exception handling. This is one of the powerful feature of
Java to handle run time error and maintain normal flow of java application.
Type of Exception
Checked Exception
Un-Checked Exception
Mahakal Institute of Technology Ujjain Madhya Pradesh
Department of Computer Science and Engineering
( Session : 2024-25)
Multithreading
Thread
1. New State
2. Ready State
3. Running State
4. Waiting State
String
String
StringBuffer
StringBuilder
Collection
Submitted by:- Vishal Kumbhkar, Vivek Gupta, Raj Singh, Vaidang Thakur, Saksham Desai, Yash Khatri