Java Jazzle

A java blog with a collection of examples and tutorials on Java and related technologies. (Under maintenance with continuous updates) Be in touch with java jazzle or k2java.blogspot.com.

Pages

  • Home
  • Topics
  • Spring
  • Core Java
  • Design Pattern
  • Concurrency
  • Hibernate
  • Garbage Collection

Saturday, April 23, 2011

OOP in java

Encapsulation
Class in java
  • Field Values or Properties
  • Methods
  • Types of methods
  • Pass by value or reference
Object creation and destruction
Access Control in java
Nested classes
Inheritance in java
  • Inheritance : cpp vs java
  • Using super in java
  • Multilevel inheritance : Calling order of Constructors
  • Abstract classes
  • Interfaces in java
  • Multiple inheritance in java
  • Inheritance among interfaces in java
  • Multiple inheritance in java
  • Abstract classes : cpp vs java
  • Abstract classes vs Interfaces
  • Abstract-Interface or skeletal implementations
  • Various interfaces
    • Abstract-Interface or skeletal implementations 
    • Constant Interfaces 
    • Marker Interfaces
  • Final in java: Preventing inheritance
Polymorphism in java
  • Array of base class objects
  • Casting and instanceof


    Posted by Kinshuk Chandra at 10:22 AM
    Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
    Labels: core-java, encapsulation_classes, java, OOP / Object Oriented Programming, toc2

    No comments:

    Post a Comment

    Newer Post Older Post Home
    Subscribe to: Post Comments (Atom)

    Chitika

    Like Java Jazzle?

    Search Java Jazzle

    Followers

    Subscribe To

    Posts
    Atom
    Posts
    Comments
    Atom
    Comments

    Chitika

    Blog Archive

    • ►  2013 (3)
      • ►  October (2)
      • ►  July (1)
    • ▼  2011 (1077)
      • ►  December (7)
      • ►  October (5)
      • ►  September (6)
      • ►  July (45)
      • ►  June (169)
      • ►  May (293)
      • ▼  April (242)
        • Writing a swap function in java
        • Best Way to Swap Values in Java
        • Java timer test
        • Usage of class loaders
        • Getting the class loader of a class
        • What is classloader?
        • Writing custom class loader in java
        • Classloader types
        • Namespaces in class loading
        • Process of Class loading
        • Easy Java Bean toString() using BeanUtils
        • How Many String Objects Are Created ?
        • JDBC Hello World program
        • SOLID - OOPS/OOAD Principle
        • Interview Questions : JEE Web Application Development
        • Obtaining annotations at runtime using reflection
        • Annotations in java5
        • Target annotation in java
        • Retention annotation in java
        • Inherited annotation
        • Documented annotation
        • SuppressWarnings annotation : Suppressing the comp...
        • Deprecated annotation
        • Override Annotation
        • Restrictions on annotations
        • Creating custom annotations in java
        • What are annotations in java
        • Java Annotation Types
        • Lucene In-Memory Text Search Example
        • How to get MAC address in Java
        • Batch processing
        • Quartz example
        • Spring AOP vs AspectJ
        • Weaving style of working with AOP
        • AOP support in spring
        • Spring's dynamic proxies for AOP
        • AOP : Tutorial
        • AOP introduction
        • Need for AOP
        • Create PDF and RTF reports using Jasper API
        • Turn String into InputStream
        • Playing with JVM heam size
        • Java read file as utf8
        • Java read file as byte array
        • Java file as url
        • Java: count the number of one bits in an int
        • Java string format tutorial
        • The InputStream Class
        • What is stream in java IO?
        • Type of Steams in java (reflected in java.io class...
        • Adding external library (.jar ) to the Java classpath
        • Setting path and classpath for java in windows XP,...
        • Determining the current values of PATH and CLASSPATH
        • Casting Objects and instanceof
        • Arrays of Base class objects
        • Polymorphism
        • Object Creation and Destruction
        • OOP in java
        • Inheritance among interfaces in java
        • Interfaces in java
        • cpp vs Java : Abstract classes
        • Class Syntax in Java
        • Using super in java
        • Inheritance : c++ vs java
        • Multilevel inheritance - Calling order of construc...
        • Core Java Tutorial (index)
        • Limits and Size of the primary data types
        • Primary datatypes and their wrapper classes
        • Identifier in java
        • Encapsulation
        • Comments in java technology
        • Java source file format
        • Installing Spring IDE Plugin in Eclipse using upda...
        • Installing new plugin in eclipse
        • Jad Decompiler Plug-in for Eclipse
        • Eclipse SQL Explorer
        • Relational Operators in java
        • Booleans
        • The char data type in Java
        • Unicode character in java
        • Passing by value vs pass by reference
        • Types of Methods in java
        • Continue, Break and Return
        • Methods of java vs Functions of c++
        • Switches in java
        • Loops in java
        • Conditional Statements - if-else statement and ? o...
        • Conditions, Statements and Blocks
        • Field values
        • Java Tutorial - File IO
        • Storing integral types in java
        • The shift operators- << , >> , >>>(3 operators) fo...
        • Important rules for the conditional operators - &&...
        • The equality operator
        • Java primary data types : Integers
        • Java vs Cpp : Integers
        • Primary data types and their default values
        • Lexical Structure in java
        • Nested Class : Index
        • Path and classpath in java
      • ►  March (219)
      • ►  February (87)
      • ►  January (4)
    • ►  2010 (217)
      • ►  December (1)
      • ►  November (3)
      • ►  October (59)
      • ►  September (122)
      • ►  August (11)
      • ►  July (12)
      • ►  May (4)
      • ►  April (5)
    • ►  2009 (9)
      • ►  December (9)
    Twitter Icon
    by Twitter Icons
    Visit blogadda.com to discover Indian blogs

    Other Blogs

    • Kodenight - Coding and algorithms
    • Puzzles
    • C / C++

    Blog Rankings

    Technology Blogs - Blog Rankings

    Total Pageviews

    592,511

    Must read

    • The Endeavour
      A bank note with 21 implicit zeros
      5 hours ago
    • xkcd.com
      Flettner Rotor
      2 days ago
    • this WEEK in TECH
      TWiT 1041: A $4 Bill - DOGE Kills Free Tax Tool
      4 days ago
    • Daniel Lemire's blog
      Innovation starts with consumers, not academia
      1 week ago
    • Coding Horror
      The Road Not Taken is Guaranteed Minimum Income
      4 months ago
    • Division by Zero
      Mathematics Departments at Liberal Arts Colleges
      5 months ago
    • Coding the Wheel
      Hello world!
      6 months ago
    • Evil Mad Scientist Laboratories
      Introducing the Bantam Tools ArtFrame™
      8 months ago
    • Eric.Weblog()
      Native AOT libraries with TypeScript
      2 years ago
    • Brian R. Bondy's Feed
      Diary of a selfless, good dog
      4 years ago
    • BetterExplained
      Integral of Sin(x): Geometric Intuition
      5 years ago
    • C for Coding
      Social is a Cancer
      13 years ago
    • Recent Questions - Stack Overflow
      Git cli: get user info from username
      13 years ago
    • Hacker News
    • BLOSSOMS-Video Library
    • Art of Problem Solving

    Labels

    .net (4) 1D arrays (17) 2D arrays (10) abstract (6) access (1) Access Control (2) accessor (1) activity diagram (1) adapter pattern (2) address (1) address of (1) advantage (3) advice (2) aggregation (1) Algorithms (3) android (1) Annotation (17) anonymous (1) ant (11) anti-pattern (2) aop (4) aop-advice (12) aop-pointcut (10) aop-pointcut-expressions (3) Apache (6) apache commons (1) Apache POI (1) API (1) application-server (2) ArrayDeque (1) ArrayList (20) Arrays (42) Arrays-tutorial (28) Aspect (11) assert (1) association (1) atom (2) atomic operation (2) AtomicInteger (4) atomicity (1) Autoboxing / Unboxing (2) avoid null (2) awt / abstract window toolkit (1) batch processing (3) batchUpdate (1) Bean (3) behavioral design pattern (1) behavioral pattern (6) behavioural (1) benchmark (1) bigdecimal (2) BigInteger (1) binarysearch (1) binarystream (1) binding (1) bits (5) Bitwise (5) bitwise operators (3) blob (2) blocking concurrent ds (6) blocking queue (6) blocks (1) books (6) boolean (2) boundedness (4) bpm/business process management (1) BufferedInputStream (1) BufferedOutputStream (2) BufferedReader (1) BufferedWriter (2) bugs (1) build (1) builder pattern (3) bulk operations (3) byte array (7) byte IO (5) ByteArrayInputStream (3) c cpp (1) c++ / cpp (6) cache (4) Calendar (4) cascade (1) casting (2) catalyst (1) cavaj (1) char (2) character IO (1) charting (1) checked exception (1) Class (13) class diagram (1) class file (1) classloader (13) classname (1) classpath (6) clob (2) clone (6) cloud computing (1) coarse grained (1) coding style (7) collection-diagrams (2) collection-implementation (10) collection-interface (16) collection-interoperability (3) collection-iteration (2) collection-operation (9) collection-view (3) Collections (163) Collections static methods (1) Collections-base (6) Collections-methods (2) coltoc (10) command line arguments (3) command prompt (1) commons-lang (3) commons-logging (2) commons.beanutils (1) Comparable (6) Comparator (5) compare() (2) compareTo() (7) comparing languages (1) Comparison (10) compilers (6) composite pattern (2) composition (9) compression (4) concatenate (1) concurrency (74) concurrent datastructures (8) concurrent interfaces (6) conditions (2) connection (1) connection-pooling (1) Console (1) console input (1) const (1) constant / literal pool (6) Constructor (17) contoc (4) contravariance (3) control flow (6) controversy (1) conventions (1) conversion (17) Copy Constructor (2) Copying (4) core-java (76) covariance (7) cpp vs java (19) Creational Pattern (10) csv (1) custom exception (3) cxf (3) cyclic dependency (1) daemon threads (1) dao / data access object (2) data types (3) database key (2) databases (1) datastructues (1) datastructures (1) Date (10) DateFormat (1) dbutils (1) DDD / Domain Driven Design (3) debug (1) decompile (3) decompiler (1) Decorator pattern (2) deep copy (5) deeptoString (1) delete (1) dependency (1) deque / double ended queue (2) design (5) design pattern (69) design pattern example (2) design principle (9) destructor (2) deterministic (1) development tools (7) di / dependency injection (2) difference (25) directory (16) disadvantage (2) dispatch (1) divide-by-zero-exception (1) do-while (1) document (2) dom (3) double (2) download-source-code (14) dtoc / design toc (6) dynamic (1) dynamic / weak typing (1) dynamic arrays (1) Dynamic Programming / DP (1) ear (1) early binding (1) eclipse (27) eclipse errors (1) eclipse how to (1) eclipse shortcuts (4) eclipse-plugin (6) eclipseLink (1) effective java (5) ejb (1) email (1) empty (1) encapsulation (2) encapsulation_classes (6) Enum (15) Enumeration (1) EnumMap (1) EnumSet (2) environment variables (1) equality (9) equality operator (1) equals() (14) event (2) evil constructor (1) example-code (26) excel (1) exception (50) exe (1) executable (1) Execution time (1) executor (6) executor service (1) expand (1) externalization (6) facade pattern (1) factory pattern (5) factory-method (1) failsafe (1) FAQ (1) feed (2) field (2) File (5) File handling (31) file IO (4) file reading (1) fileFilter (2) FileFiltername (1) filter (1) Filtered Stream (2) final (9) final classes (1) finalize (2) finally (3) find bugs (1) fine grained (1) firstProgram / helloworld (10) fixImage (1) fizz (1) float (1) for (3) forEach (2) formatting output (1) frame (3) fun (2) Function parameter (1) function pointers (1) functions (1) Fundamental Prog. Structure (6) future (1) gc / garbage collection (12) generator (1) generic-method (4) Generics (35) generics faciliy (3) getopt (1) Getter (1) GoF (1) google (2) GUI (1) guice (2) gwt (1) gzip (1) h2 database (2) hashcode (4) hashMap (6) HashSet (6) HashTable (7) heap-memory (4) hell (1) helper (1) hibernate (31) hibernate fetching strategies (1) hibernate object (1) hibernate-annotation (1) hibernate-inheritance (4) hibernate-xml (1) hiding (1) hollywood princinple (1) hotspot (1) how to (1) how-to (1) hsqldb (1) http (1) http client (1) httpconnection (2) if-else (2) image (3) immutable objects (4) implementing datastructure using array (1) import (1) in-memory (1) incomplete (3) index access (1) inheritance (33) inheritance type (1) ini file (1) init block (3) initialization (17) Inner Class (9) Input (2) inputstream (1) instanceof (4) integer (6) Interface (11) intern (3) internalization (1) interrupt (1) interview questions (10) introduction (3) invariance (1) IO / Input Output (61) ipaddress (1) ireport (1) isEmpty (1) iterable (2) iterate (5) iterator (7) iterator pattern (1) itext (6) j2ee (2) jad (1) jar (8) jasper (1) java (1303) Java API (1) java console (1) java secret (1) java-practises (8) java-secrets (1) java-tip (1) java.io (36) java.io.File (21) java.lang (6) java.lang.Annotations (15) java.math (1) java.net (4) java.nio (3) java.text (2) java.util.concurrent (1) java.util.logging (2) java.util.zip (6) java4 (2) Java5 / tiger (6) java5Concurrency (13) java6 (5) java7 / jdk7 (10) javac (1) javac options (2) javadoc (2) javamail (3) javax (1) javax.tools (1) jax-ws (1) jaxb (14) jaxp (1) jdbc (19) jdbc drivers (1) jdbcTemplate (3) jdom (11) jexcelapi (1) jfreechart (1) jms (1) joshuaBloch (1) jpa / java persistence api (18) jsf (1) jsp (5) jsp compiler (1) junit (2) just-in-time (JIT) compilers (1) jvm (12) jvm options (1) jython (1) keyset (1) keyword (3) Latches (2) late binding (1) lazy initialization (1) lexical structure (2) libraries (1) lifecycle (2) limitations (2) link list (3) LinkedHashMap (4) linkedHashSet (3) LinkedList (9) list (47) list-implementation (6) list-interface (2) list-operation (4) ListIterator (1) literals (1) local variable (1) locale (2) locking (8) logging (8) logical (1) loops (1) lucene (1) macaddress (1) mail (1) main-method (2) map (43) map-implementation (13) map-interface (2) mapping (1) Marker Interfaces (2) matter of style (1) maven (1) memory (7) memory frame (1) memory leak (2) memory model (3) message-format (1) metadata (1) Method (computer science) (7) method overriding / hiding (2) microbechmark (1) Microsoft Office (1) mixin (1) mock test (1) mq / message queue (1) multiple inheritance (1) mumbay (1) Mutable objects (1) mutator (1) mvc (1) named exception (3) naming convention (11) nanotime (1) native method (7) natural key (1) natural langauge (1) natural ordering (1) Navigable Map (1) Navigable Set (1) need (1) Nested Class (10) networking (1) new (2) newInstance (1) no to constructor (1) non-static (2) notifyAll (1) NPE / Null Pointer Exception (3) null (5) number (1) NumberFormat (1) numbers (1) object (3) Object class (3) Observable (1) observer pattern (1) online (1) OOP / Object Oriented Programming (46) openjdk (2) operators (20) optimization (3) orm (41) os / operating system (2) output (4) overloading (3) overriding (3) package (2) Page (8) paradigm (1) parallel programming (1) parametric type (2) parsing (5) Pass by value (1) password breaking (1) path (2) pdf (4) pdf-generation (5) performance (3) pointer (1) polymorphism (3) pooling (1) precompilation (1) prerequisite (1) preventing inheritance (1) Primary / primitive data types (15) primary key (1) Principle of least knowledge (2) Principles (1) printf (2) priority (1) private constructor (2) privilege (1) process (2) producer consumer (1) programmatic / runtime compilation (1) programming (2) programming language / PL (4) programs (15) properties (8) Property (map) (1) Pros and cos (1) proxy (2) proxy pattern (1) pull-parsing (1) quartz (2) rac/restricted-Access-Container (1) random (3) random stuff (1) range (1) raw types (1) read (1) read byte (1) read file (2) read-only (1) read/write (3) recursion (3) reference (5) Reflection (30) regex / regular expression (16) repository (1) resource (1) rest (4) restful-webservice (3) restrictions (3) resultset-extractor (1) return (1) rmi (5) rowmapper (1) rss (2) rtf (1) rtti (1) ruby (2) Run time (computing) (1) runnable (2) runtime (4) saaj (1) sample code (8) sax (3) scheduler (2) scjp (11) scope (1) scoping (2) screenshot (1) scripting (1) search (1) security manager (2) semaphore (4) sequence diagram (1) serialization (16) server (5) set (28) set-implementation (7) Setter (2) shallow copy (6) shortcut (5) SimpleDateFormat (1) Singleton (2) sleep (1) slf4j (1) SOA / service oriented architecture (3) soa/service oriented architecture (1) soap (3) soft-reference (1) sort (5) sorted map (1) sorted set (7) sorting (10) source code (7) split (1) spring (101) spring scope (3) spring-annotations (7) spring-aop (21) spring-api (4) spring-bean-lifecycle (12) spring-beanfactory (2) spring-configuration-file (1) spring-context (4) spring-di/ioc (49) spring-example (7) spring-jdbc (9) spring-library (1) spring-loading-beans (5) spring-mvc (1) spring-web (1) spring3 (1) sql (3) sql date (1) stack (2) stack memory (2) standard IO (2) state pattern (2) static (20) static / strong typing (1) static block (1) static initialization (6) static methods (1) stax (3) stored procedure (1) strategy pattern (3) Stream (14) String (46) string abnormal (1) string equality (1) String functions (2) string IO (2) string tokenizer (3) String utility (1) stringBuffer (4) stringBuilder (4) StringUtils (1) stripes (1) strong-reference (2) structural pattern (8) subscript (1) subsequence (1) substring (4) subtyping (1) sun.misc (1) super (4) surrogate key (1) swap (4) swing (9) Switch-Case (3) synchronized (8) synchronizer (9) synchronous queue (1) syntax and grammar (31) system properties (2) tdd / test driven development (2) template method pattern (3) templates (1) testing (1) texture (1) this (2) thread factory (1) thread local (1) thread pool (3) ThreadGroup / thread group (5) ThreadModel (1) Threads (27) throw (4) throws (4) Time (1) timer (2) TimerTask (1) toc2 (40) today (6) TOPLink (1) toString (4) transient (1) traversing (1) treeMap (4) treeSet (4) try-catch (5) tutorial (1) tutorial-References (1) twitter (1) type (2) type parameter (1) type safety (2) type substitution (1) typecast (1) types (3) udf (6) UML (11) underscore (1) unicode (1) unique (1) unit test (1) unit testing (1) unix / linux (1) URL (3) url shortener (1) Usage (1) use cases (1) using annotations (1) using reflection (2) utf-8 (1) utility class (2) validation (1) value classes (5) varargs (3) variables (4) variance (1) Vector (11) version (1) vm / virtual memory (1) volatile (4) wait (1) war (1) weak-reference (5) WeakHashMap (3) weaving (1) web development (4) web frameworks (1) web-server (2) web-service (13) while (1) wicket (1) wildcard (11) windows os (1) wink (1) without Main (1) workspace (1) wrapper (4) write file (1) writing xml (2) wsdl (4) xml (20) xml parsing (6) xml-element (1) xml-encoder (2) xml-output (1) xml-read (1) xpath (1) xsd (1) yield (1)

    Disclaimer

    Java Jazzle is for learning and training only. Its not guaranteed that content published is correct. The risk from using it lies entirely with the user. Also the opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

    About this blog

    This is my tech blog. I write on this blog to save my searching stuff on google. It acts as my log of all the stuff I went through and saves my time, because I don't have to search again and again. Another reason for putting stuff on it was, when I am kind of free, it kind of kills it.
    Simple theme. Powered by Blogger.