When you want to succeed as bad as you want to breathe, then you’ll be successful.
--Your friends at LectureNotes

Note for Advanced Java Programming - AJP by subham Kumar sah

  • Advanced Java Programming - AJP
  • Note
  • puset -
  • Information Technology Engineering
  • B.Tech
  • 8 Topics
  • 496 Offline Downloads
  • Uploaded 1 year ago
Subham Kumar Sah
Subham Kumar Sah
0 User(s)
Download PDFOrder Printed Copy

Share it with your friends

Leave your Comments

Text from page-1

BCA V Semester Advance Programming in Java           Advance  Programming     In  Java   Purbanchal  University     BCA  Fifth  Semester   sarojpandey.com.np Page 1 of 101

Text from page-2

BCA V Semester Advance Programming in Java Java  Basics     1. Overview  of  Object-­‐Oriented  Programming   1.1. Objects  and  Classes   1.2. Data  Abstraction  and  Data  Encapsulation   1.3. Inheritance   1.4. Polymorphism   2. Features  of  Java   2.1. Object  -­‐  Oriented   2.2. Simple   2.3. Safe   2.4. Multi-­‐Threaded   2.5. Platform  Independent   2.6. Garbage  Collector   2.7. Dynamic  and  Robust   3. Inheritance   3.1. Introduction   3.2. extends  and  super  keyword   3.3. Overriding  methods   3.4. final  keyword   3.4.1. final  instance  variable   3.4.2. final  method   3.4.3. final  class   3.5. finalization  method   3.6. abstract  method  and  class   4. Interface   4.1. Introduction   4.2. How  to  define  interface   4.3. Extending  interface   4.4. Implementing  interface   4.5. Example   5. Packages   5.1. Introduction   5.2. Benefits   5.3. How  to  use  package?   sarojpandey.com.np Page 2 of 101

Text from page-3

BCA V Semester Advance Programming in Java 5.4. How  to  create  our  own  package?   5.5. Access  modifier   6. Exceptional  Handling   6.1. Introduction   6.2. Syntax  of  Exceptional  Handling   6.3. finally  Block   6.4. throws  clause   6.5. Creating  our  own  exception   7. Multi-­‐threading   7.1. Introduction   7.2. How  to  create  thread?   7.3. How  to  extends  Thread  class?   7.4. How  to  implement  Runnable  interface?   7.5. Transition  diagram  or  state  diagram  of  a  thread   7.6. Scheduling  and  Thread  Priority   7.7. Synchronization         sarojpandey.com.np Page 3 of 101

Text from page-4

BCA V Semester Advance Programming in Java Overview  of  Object  –  Oriented  Programming     Object   –   Oriented   Programming   is   an   approach   to   program   organization   and   development,   which   attempts  to  eliminate  some  of  the  pitfalls  of  conventional  programming  methods  by  incorporating  the   best   of   structured   programming   features   with   several   new   concepts.   Object   Oriented   Programming   has  following  features.   • Objects  and  Classes   • Data  Abstraction  and  Encapsulation   • Inheritance   • Polymorphism     Objects  and  Classes   Objects   are   the   basic   runtime   entities   in   an   object-­‐oriented   system.   They   may   represent   any   real   world  entity  or  may  implement  abstract  concepts.  These  objects  are  created  by  using  classes,  a  user   defined  data  type.     Data  abstraction  and  encapsulation   Abstraction   is   the   process   of   identifying   the   essential   features   of   an   object.   Encapsulation   is   the   process  of  wrapping  up  of  data  and  methods  into  a  single  unit.  Encapsulation  is  also  referred  as  data   hiding  or  information  hiding.     Inheritance   Inheritance  is  the  process  of  creating  new  classes  from  the  existing  classes.  Inheritance  supports  the   concept   of   hierarchical   classification   of   classes.   It   also   implements   the   concept   of   reusability   that   is   the  regarded  as  the  key  concept  of  Object  –  Oriented  Programming.     Polymorphism   Polymorphism   is   the   another   important   Object-­‐Oriented   Programming   concept.   Polymorphism   means  the  ability  to  take  more  than  one  from.  Polymorphism  is  associated  with  dynamic  binding  that   refers  to  the  linking  of  a  procedure  call  to  the  code  in  run  time  execution.     Features  of  Java   Java  is  a  pure  object  –  oriented  programming  language.  It  has  the  following  features.   • Object  -­‐  Oriented   • Simple   • Safe   sarojpandey.com.np Page 4 of 101

Lecture Notes