JAVA Means DURGA SIR 114 nd DURGASOFT 202,2 Floor,HUDA...

This preview shows page 1 - 5 out of 88 pages.

JAVA Means DURGA SIR 114 DURGASOFT, # 202,2 nd Floor,HUDA Maitrivanam,Ameerpet, Hyderabad - 500038, 040 – 64 51 27 86, 80 96 96 96 96, 9246212143 |
Image of page 1

Subscribe to view the full document.

JAVA Means DURGA SIR 115 DURGASOFT, # 202,2 nd Floor,HUDA Maitrivanam,Ameerpet, Hyderabad - 500038, 040 – 64 51 27 86, 80 96 96 96 96, 9246212143 |
Image of page 2
JAVA Means DURGA SIR 116 DURGASOFT, # 202,2 nd Floor,HUDA Maitrivanam,Ameerpet, Hyderabad - 500038, 040 – 64 51 27 86, 80 96 96 96 96, 9246212143 | Declaration and Access Modifiers Agenda 1. Java source file structure o Import statement o Types of Import Statements Explicit class import Implicit class import o Difference between C language #include and java language import ? o 1.5 versions new features o Static import Without static import With static import o Explain about System.out.println statement ? o What is the difference between general import and static import ? o Package statement How to compile package Program How to execute package Program o Java source file structure 2. Class Modifiers o Only applicable modifiers for Top Level classes o What is the difference between access specifier and access modifier ? o Public Classes o Default Classes o Final Modifier Final Methods Final Class o Abstract Modifier Abstract Methods Abstract class o The following are the various illegal combinations for methods o What is the difference between abstract class and abstract method ? o What is the difference between final and abstract ? o Strictfp o What is the difference between abstract and strictfp ? 3. Member modifiers o Public members o Default member o Private members o Protected members o Compression of private, default, protected and public o Final variables Final instance variables At the time of declaration Inside instance block
Image of page 3

Subscribe to view the full document.

JAVA Means DURGA SIR 117 DURGASOFT, # 202,2 nd Floor,HUDA Maitrivanam,Ameerpet, Hyderabad - 500038, 040 – 64 51 27 86, 80 96 96 96 96, 9246212143 | Inside constructor Final static variables At the time of declaration Inside static block Final local variables o Formal parameters o Static modifier o Native modifier Pseudo code o Synchronized o Transient modifier o Volatile modifier o Summary of modifier 4. Interfaces o Interface declarations and implementations o Extends vs implements o Interface methods o Interface variables o Interface naming conflicts Method naming conflicts Variable naming conflicts o Marker interface o Adapter class o Interface vs abstract class vs concrete class o Difference between interface and abstract class? o Conclusions
Image of page 4