SlideShare a Scribd company logo
1 of 53
Java Basics
Objectives ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Class ,[object Object],[object Object],[object Object],[object Object]
Interface ,[object Object],[object Object],[object Object],[object Object]
Variables ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Methods ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Encapsulation ,[object Object],[object Object],[object Object]
Inheritance ,[object Object],[object Object],[object Object]
Polymorphism ,[object Object],[object Object]
Constructors ,[object Object],[object Object],[object Object],[object Object]
Static ,[object Object],[object Object]
Memory Management ,[object Object],[object Object],[object Object]
Exception ,[object Object],[object Object],[object Object]
Exception handling ,[object Object],[object Object],[object Object],[object Object],[object Object]
Time for some practical example ,[object Object],[object Object]
Practical Example 2 ,[object Object],[object Object]
Collections – some groundwork ,[object Object],[object Object],[object Object],[object Object],[object Object]
Collections – some groundwork 2 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Collections – some groundwork 3 ,[object Object],[object Object]
Collections – An Introduction ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Collections - continued ,[object Object],[object Object],[object Object],[object Object]
Collections - continued ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Collections - Sorting ,[object Object],[object Object],[object Object],[object Object],[object Object]
Collections - Search ,[object Object],[object Object],[object Object],[object Object],[object Object]
Inner Classes ,[object Object],[object Object],[object Object],[object Object],[object Object]
Inner Classes – Purpose and Use ,[object Object],[object Object],[object Object],[object Object],[object Object]
Inner classes - types ,[object Object],[object Object],[object Object],[object Object]
Inner Classes ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Inner Classes  ,[object Object],[object Object]
Threads ,[object Object],[object Object],[object Object],[object Object],[object Object]
States of Thread ,[object Object],[object Object],[object Object],[object Object],[object Object],Waiting / Blocked / Sleeping Dead Running New Runnable
Thread execution ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Multi-Threading ,[object Object],[object Object],[object Object],[object Object],[object Object]
Java I/O ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Stream IO ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Character IO ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Buffered IO ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Scanning and formatting ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Command Line IO ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Data Streams ,[object Object],[object Object],[object Object]
Object IO ,[object Object],[object Object],[object Object]
File Operations ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Java nio operations ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Serialization ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Serialization  using the default protocol ,[object Object],[object Object],[object Object]
Serialization using  Customizing the Default Protocol - I ,[object Object]
Serialization using  Customizing the Default Protocol - II ,[object Object],[object Object],[object Object],[object Object]
Serialization using  Customizing the Default Protocol - III ,[object Object],[object Object],[object Object]
Serialization using  Customizing the Default Protocol - II ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Serialization using  Creating our Own Protocol ,[object Object],[object Object],[object Object],[object Object]
References ,[object Object],[object Object],[object Object]
Queries
Next Sessions – Servlets and JSP ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

More Related Content

What's hot

Java basic tutorial by sanjeevini india
Java basic tutorial by sanjeevini indiaJava basic tutorial by sanjeevini india
Java basic tutorial by sanjeevini india
Sanjeev Tripathi
 

What's hot (20)

Introduction to Java
Introduction to Java Introduction to Java
Introduction to Java
 
Java Spring Framework
Java Spring FrameworkJava Spring Framework
Java Spring Framework
 
Advance Java Topics (J2EE)
Advance Java Topics (J2EE)Advance Java Topics (J2EE)
Advance Java Topics (J2EE)
 
Introduction to Spring Framework
Introduction to Spring FrameworkIntroduction to Spring Framework
Introduction to Spring Framework
 
Basics of JAVA programming
Basics of JAVA programmingBasics of JAVA programming
Basics of JAVA programming
 
Learn Java with Dr. Rifat Shahriyar
Learn Java with Dr. Rifat ShahriyarLearn Java with Dr. Rifat Shahriyar
Learn Java with Dr. Rifat Shahriyar
 
Important features of java
Important features of javaImportant features of java
Important features of java
 
Introduction to java (revised)
Introduction to java (revised)Introduction to java (revised)
Introduction to java (revised)
 
Java basic tutorial by sanjeevini india
Java basic tutorial by sanjeevini indiaJava basic tutorial by sanjeevini india
Java basic tutorial by sanjeevini india
 
JDBC: java DataBase connectivity
JDBC: java DataBase connectivityJDBC: java DataBase connectivity
JDBC: java DataBase connectivity
 
Elements of Java Language
Elements of Java Language Elements of Java Language
Elements of Java Language
 
Java DataBase Connectivity API (JDBC API)
Java DataBase Connectivity API (JDBC API)Java DataBase Connectivity API (JDBC API)
Java DataBase Connectivity API (JDBC API)
 
Introduction of java
Introduction  of javaIntroduction  of java
Introduction of java
 
Java basic
Java basicJava basic
Java basic
 
Java Basics
Java BasicsJava Basics
Java Basics
 
Spring Framework - Core
Spring Framework - CoreSpring Framework - Core
Spring Framework - Core
 
Java features
Java featuresJava features
Java features
 
Introduction to Java
Introduction to JavaIntroduction to Java
Introduction to Java
 
Introduction to java 8 stream api
Introduction to java 8 stream apiIntroduction to java 8 stream api
Introduction to java 8 stream api
 
Spring Boot
Spring BootSpring Boot
Spring Boot
 

Viewers also liked

Introduction to Java Programming Language
Introduction to Java Programming LanguageIntroduction to Java Programming Language
Introduction to Java Programming Language
jaimefrozr
 
Networking Java Socket Programming
Networking Java Socket ProgrammingNetworking Java Socket Programming
Networking Java Socket Programming
Mousmi Pawar
 

Viewers also liked (20)

Java tutorial PPT
Java tutorial PPTJava tutorial PPT
Java tutorial PPT
 
Introduction to Java Programming Language
Introduction to Java Programming LanguageIntroduction to Java Programming Language
Introduction to Java Programming Language
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
 
Introduction to Java Programming
Introduction to Java ProgrammingIntroduction to Java Programming
Introduction to Java Programming
 
Java Tutorial
Java TutorialJava Tutorial
Java Tutorial
 
Core java slides
Core java slidesCore java slides
Core java slides
 
Java tutorial for Beginners and Entry Level
Java tutorial for Beginners and Entry LevelJava tutorial for Beginners and Entry Level
Java tutorial for Beginners and Entry Level
 
Basics of sockets
Basics of socketsBasics of sockets
Basics of sockets
 
Sockets
SocketsSockets
Sockets
 
Core Java Basics
Core Java BasicsCore Java Basics
Core Java Basics
 
Presentation on Core java
Presentation on Core javaPresentation on Core java
Presentation on Core java
 
Basic java tutorial
Basic java tutorialBasic java tutorial
Basic java tutorial
 
Basics of Java
Basics of JavaBasics of Java
Basics of Java
 
Java inheritance
Java inheritanceJava inheritance
Java inheritance
 
Networking Java Socket Programming
Networking Java Socket ProgrammingNetworking Java Socket Programming
Networking Java Socket Programming
 
02 basic java programming and operators
02 basic java programming and operators02 basic java programming and operators
02 basic java programming and operators
 
Introduction to-programming
Introduction to-programmingIntroduction to-programming
Introduction to-programming
 
Network programming in Java
Network programming in JavaNetwork programming in Java
Network programming in Java
 
Java: Inheritance
Java: InheritanceJava: Inheritance
Java: Inheritance
 
Packages and interfaces
Packages and interfacesPackages and interfaces
Packages and interfaces
 

Similar to Java Basics

Working Effectively With Legacy Perl Code
Working Effectively With Legacy Perl CodeWorking Effectively With Legacy Perl Code
Working Effectively With Legacy Perl Code
erikmsp
 
Java Faqs useful for freshers and experienced
Java Faqs useful for freshers and experiencedJava Faqs useful for freshers and experienced
Java Faqs useful for freshers and experienced
yearninginjava
 

Similar to Java Basics (20)

Java basics
Java basicsJava basics
Java basics
 
JavaScript Miller Columns
JavaScript Miller ColumnsJavaScript Miller Columns
JavaScript Miller Columns
 
Core_Java_Interview.pdf
Core_Java_Interview.pdfCore_Java_Interview.pdf
Core_Java_Interview.pdf
 
Java interview questions and answers
Java interview questions and answersJava interview questions and answers
Java interview questions and answers
 
Introduction to c_plus_plus
Introduction to c_plus_plusIntroduction to c_plus_plus
Introduction to c_plus_plus
 
Introduction to c_plus_plus (6)
Introduction to c_plus_plus (6)Introduction to c_plus_plus (6)
Introduction to c_plus_plus (6)
 
Owner - Java properties reinvented.
Owner - Java properties reinvented.Owner - Java properties reinvented.
Owner - Java properties reinvented.
 
Working Effectively With Legacy Perl Code
Working Effectively With Legacy Perl CodeWorking Effectively With Legacy Perl Code
Working Effectively With Legacy Perl Code
 
Basic java part_ii
Basic java part_iiBasic java part_ii
Basic java part_ii
 
Patterns in Python
Patterns in PythonPatterns in Python
Patterns in Python
 
iOS Application Development
iOS Application DevelopmentiOS Application Development
iOS Application Development
 
EnScript Workshop
EnScript WorkshopEnScript Workshop
EnScript Workshop
 
Java mcq
Java mcqJava mcq
Java mcq
 
SMI - Introduction to Java
SMI - Introduction to JavaSMI - Introduction to Java
SMI - Introduction to Java
 
CLR Exception Handing And Memory Management
CLR Exception Handing And Memory ManagementCLR Exception Handing And Memory Management
CLR Exception Handing And Memory Management
 
C# interview-questions
C# interview-questionsC# interview-questions
C# interview-questions
 
Open Problems in Automatically Refactoring Legacy Java Software to use New Fe...
Open Problems in Automatically Refactoring Legacy Java Software to use New Fe...Open Problems in Automatically Refactoring Legacy Java Software to use New Fe...
Open Problems in Automatically Refactoring Legacy Java Software to use New Fe...
 
How to ace your .NET technical interview :: .Net Technical Check Tuneup
How to ace your .NET technical interview :: .Net Technical Check TuneupHow to ace your .NET technical interview :: .Net Technical Check Tuneup
How to ace your .NET technical interview :: .Net Technical Check Tuneup
 
Practical catalyst
Practical catalystPractical catalyst
Practical catalyst
 
Java Faqs useful for freshers and experienced
Java Faqs useful for freshers and experiencedJava Faqs useful for freshers and experienced
Java Faqs useful for freshers and experienced
 

Java Basics

  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.
  • 48.
  • 49.
  • 50.
  • 51.
  • 53.