Final Report
Final Report
INDUSTRIAL TRAINING
REPORT
Submitted by
Manas ON
20EBKCS060
Core Java
Organization
Submitted in partial fulfillment for the Degree
Learn Vern
of
B.Tech
in
Computer Science
Session: 2022-23
CSE
ACKNOWLEDGEMENT
CERTIFICATE
lOMoAR cPSD| 20915023
CONTENT
1. Introduction................................................................
.....................................................1
2. Basics Of
Java............................................................................
.....................................2
2.1. Overview Of
Java............................................................................
.......................2
2.2. Features Of
Java............................................................................
.........................3
2.3. Java ClassPath
Setting........................................................................
....................4
2.4. Steps For Compiling And Executing
Programs..........................................................4
2.5. Difference Between JDK,JRE And
JVM...................................................................5
2.6. Object And
Class..............................................................................
..........................5
2.7. Data
Types.............................................................................
.....................................6
2.8. Variables........................................................................
.............................................7
2.9. Operators And Its
Types.............................................................................
.................7
3. Programming
Concepts........................................................................
..............................7
3.1. Structure Of Java
Program.........................................................................
.................7
lOMoAR cPSD| 20915023
3.2. Main
Method...........................................................................
....................................8
3.3. Decision Making
Statement.......................................................................
.................8
3.4. Looping
Statement.......................................................................
...............................8
3.5. Wrapper
Classes...........................................................................
...............................9
3.6. Access
Modifiers.......................................................................
..................................9
4. Java Useful
Keywords.......................................................................
.................................9
4.1. Final...............................................................................
..............................................9
4.2. Static
.......................................................................................
....................................9
4.3. This................................................................................
..............................................10
4.4. Super..............................................................................
..............................................10
4.5. Synchronized.................................................................
..............................................10
6. Java Object
Oriented.........................................................................
...............................12
6.1. .
Inheritance.....................................................................
............................................12
6.2. Method
Overloading...................................................................
...............................13
6.3. Method
Overriding......................................................................
..............................13
6.4. Interface.........................................................................
............................................14
6.5. Abstraction....................................................................
............................................14
6.6. Encapsulation................................................................
............................................15
6.7. Polymorphism................................................................
...........................................15
7. Java
Advanced.......................................................................
...........................................16
7.1. Package..........................................................................
............................................16
7.2. Exception
Handling........................................................................
...........................16
7.3. Multithreading...............................................................
............................................17
7.4. String.............................................................................
.............................................17
7.5. Collection......................................................................
.............................................1810. Projects
lOMoAR cPSD| 20915023
Undertaken....................................................................
....................................19
Conclusions...................................................................
....................................................21
References.....................................................................
....................................................22
lOMoAR cPSD| 20915023
INTRODUCTION
J2SE
J2EE
lOMoAR cPSD| 20915023
J2ME
BASICS OF JAVA
Overview Of Java
Define JRE
Define JVM
Garbage Collector
Definition of JIT
Features Of JAVA
Path Variable
Path variable is set for providing path for all java tools
like java, javac, javap, javah, jar, appletviewer which
are use in java programming. These all tools are
available in bin folders so we set path upto bin folders.
Classpath Variable
• Data Member
• Method
• Constructor
• Block
• State
• Behavior
• Identity
State: Represents data (value) of an object.
Behavior: Represents the behavior (functionality) of
an object such as deposit, withdraw etc. Identity:
Object identity is typically implemented via a unique
ID. The value of the ID is not visible to the external
user. But,it is used internally by the JVM to identify
each object uniquely.
Data Types
Variable
• Arithmetic Operators
• Relational Operators
• Logical Operators
• Bitwise Operators
• Assignment Operators
• Ternary or Conditional Operators
PROGRAMMING CONCEPTS
lOMoAR cPSD| 20915023
Main( ) Method
• if
• if-else
• switch
Looping Statement
Wrapper Classes
Access modifiers:
Final keyword
Super keyword
• At variable level
• At method level
Abstract Classes
Types of constructors
Relationship in Java
• Is-A Relationship
• Has-A Relationship
Inheritance
Types of Inheritance
• Single inheritance
• Multiple inheritance
• Hierarchical inheritance
• Multilevel inheritance
• Hybrid inheritance
Method Overloading
Interface
Abstraction
Encapsulation
Benefits of encapsulation
Polymorphism
JAVA ADVANCED
Package
Purpose of package
lOMoAR cPSD| 20915023
Exception Handling
Type of Exception
• Checked Exception
• Un-Checked Exception
Multithreading
1. New State
2. Ready State
3. Running State
4. Waiting State
5. Halted or dead State
String
• String
• StringBuffer
• StringBuilder
Collection
Collections in java is a framework that provides an
architecture to store and manipulate the group of
objects.All the operations that you perform on a data
such as searching, sorting, insertion, manipulation,
deletion etc. can be performed by Java
Collections.Java Collection simply means a single
unit of objects. Java Collection framework provides
many interfaces (Set, List, Queue, Deque etc.) and
classes (ArrayList, Vector, LinkedList, PriorityQueue,
HashSet, LinkedHashSet, TreeSet etc).
lOMoAR cPSD| 20915023
CONCLUSION