Core Java Tutorial-Learn Step by Step with Example

Core JAVA Tutorial

Hello Friends, Now we will focused on the Core Java tutorial, it is really a baby step to be a good, better and best Java ian 🙂  . I means Some “DineshOnJava“s Readers want to be a best Java ian. So now we move to on Core Java and Its all about things. Give me only your 30-40 hours to be a good Core Java ian.

You will learn the key features of the language and develop skills in Java programming. The core java development course teaches you how to use the major application areas of Java, including GUI development, applets, database applications using JDBC and distributed object computing.

Introduction to JAVA-
Before starting to learn Java, let us plunge into its history and see how the language originated. In 1990, Sun Microsystems Inc. (US) has conceived a project to develop software for consumer electronic devices that could be controlled by a remote. This project was called Stealth Project but later its name was changed to Green Project.

In Jan of 1991, Bill Joy, James Gosling, Mike Sheradin, Patrick Naughton and several others met in Aspen, Colorado to discuss this project. Mike Sheradin was focused on Business Development, Patrick Naughton worked on the Graphics systems and James Gosling was to identify the proper programming language for the project. Gosling thought C and C++ could be used to develop the project. But the problem he faced with them is that they were system dependent languages and hence could not be used various processors which the electronics devices might use. So he start to develop a new language which was completely system independent. This language was initially called as OAK.  Since this name was registered by other company, later it was changed to JAVA.

java certification dump

WHY THE NAME IS JAVA? James Gosling and his team members were consuming a lot of coffee while developing this language. They felt that they were able to develop a better language because of the good quality of coffee they consumed. So the coffee had its own role in developing this language and good quality of coffee was exported to the entire world from a place called ‘JAVA ISLAND‘. Hence they fixed the name of the place for the language as JAVA. And the symbol for JAVA Language is coffee cup and saucer.

By September of 1994, Naughton and Jonathan Payne started writing WebRunner-a Java based Web browser, which was later renamed as HotJava. By October 1994, HotJava was stable and was demonstrated to Sun executives. HotJava was the first browser, having the capabilities of executing applets, which are programs designed to run dynamically on Internet. This time, Java’s potential in the context of the World Wide Web was recognized. 

Sun formally announced Java and HotJava at SunWorld conference in 1995. Soon after, Netscape Inc. announced that it would incorporate Java support in its browser Netscape Navigater. Later, Microsoft also announced that they would support Java in their Internet Explorer Web browser.  
Java Versions, Features and History-

  • Released on 23 January 1996, JDK 1.0 version.
  • Released on 19 February 1997 JDK 1.1 version.
    New features in JDK 1.1

    1. JDBC (Java Database Connectivity)
    2. Inner Classes
    3. Java Beans
    4. RMI (Remote Method Invocation)
    5. Reflection (introspection only)
  • Released on 8 December 1998 J2SE 1.2 version.
    New features in J2SE 1.2

    1. Collections framework.
    2. Java String memory map for constants.
    3. Just In Time (JIT) compiler.
    4. Jar Signer for signing Java ARchive (JAR) files.
    5. Policy Tool for granting access to system resources.
    6. Java Foundation Classes (JFC) which consists of Swing 1.0, Drag and Drop, and Java 2D class libraries.
    7. Java Plug-in
    8. Scrollable result sets, BLOB, CLOB, batch update, user-defined types in JDBC.
    9. Audio support in Applets.
  • Released on 8 May 2000 J2SE 1.3 version.
    New features in J2SE 1.3

    1. Java Sound
    2. Jar Indexing
    3. A huge list of enhancements in almost all the java area.
  • Released on 6 February 2002 J2SE 1.4 version.
    New features in J2SE 1.4

    1. XML Processing
    2. Java Print Service
    3. Logging API
    4. Java Web Start
    5. JDBC 3.0 API
    6. Assertions
    7. Preferences API
    8. Chained Exception
    9. IPv6 Support
    10. Regular Expressions
    11. Image I/O API
  • Released on 30 September 2004 J2SE 1.5 version.
    New features in J2SE 1.5

    1. Generics
    2. Enhanced for Loop
    3. Autoboxing/Unboxing
    4. Typesafe Enums
    5. Varargs
    6. Static Import
    7. Metadata (Annotations)
    8. Instrumentation
  • Released on 11 December 2006 J2SE 1.6 version.
    New features in J2SE 1.6

    1. Scripting Language Support
    2. JDBC 4.0 API
    3. Java Compiler API
    4. Pluggable Annotations
    5. Native PKI, Java GSS, Kerberos and LDAP support.
    6. Integrated Web Services.
    7. Lot more enhancements.
  • Released on 28 July 2011 J2SE 1.7 version.
    New features in J2SE 1.7

    1. Strings in switch Statement
    2. Type Inference for Generic Instance Creation
    3. Multiple Exception Handling
    4. Support for Dynamic Languages
    5. Try with Resources
    6. Java nio Package
    7. Binary Literals, underscore in literals
    8. Diamond Syntax
    9. Automatic null Handling

Topics Covered-

Getting Started with Java

  1. Introduction to Java.
  2. What is Java?
  3. Java Virtual Machine.
  4. Features & History of Java and Versions.
  5. Java Environment Setup for Window 7
  6. Differentiate JVM JRE JDK JIT
  7. Garbage Collection in Java
  8. How work Garbage Collector in Java 

Java Basics

  1. Java Basic Syntax
  2. Hello World Java Example.
  3. Basic Variables & Datatype in Java.
  4. Basic Datatype in Java.
  5. Basic Comments in Java.
  6. Basic Operators in Java.
  7. Control Statements in Java.
  8. Array in Java.
  9. String Class in Java.
  10. Objects and Classes in Java.
  11. Basic Modifier in Java.
  12. Methods in Java.
  13. Constructors in Java. 
  14. String In Switch-Java 7 New Concept

Java Object Oriented

  1. Java Inheritance
  2. Java Overriding
  3. Java Polymorphism
  4. Java Abstraction
  5. Encapsulation in Java
  6. Java Interface 
  7. Packages in Java
  8. static keyword in java  
  9. final keyword in Java
  10. this keyword in Java 
  11. super keyword in Java 
  12. instance initializer block 
Java Exception Handling
  1. Exception Handling
  2. try & catch block and Handling Exceptions
  3. Multiple catch block Handling
  4. Nested try catch block Handling 
  5. finally block in Java 
  6. throw keyword in java 
  7. throws keyword in Java 
  8. Exception propagation in Java 
  9. Handle exceptions in overriding methods in Java 
  10. User defined Exception in Java 
  11. Multiple Exceptions In Java 7 New Concept 
  12. Different Exception Generate in Array in Java(7)
Inner Classes
  1. Inner Nested classes in java
  2. Member Inner classes
  3. Annonymous inner classes
  4. Local Inner Classes
  5. static nested classes
  6. Nested Interface in Java
Threads in Java
  1. Multithreading in Java 
  2. Life Cycle of A Thread 
  3. Creating a thread in Java 
  4. Thread Scheduling in Java 
  5. Sleeping a thread using sleep() method 
  6. Java Thread Join using join() method 
  7. Naming a thread 
  8. Priority of a Thread 
  9. Daemon Thread 
  10. Synchronization in Java 
  11. Synchronized block 
  12. Static synchronization 
  13. Deadlock in Java 
  14. Inter-thread communication 
  15. Thread Control in Java 
  16. Interrupting Java threads 
  17. Difference between wait() and sleep()
Collection Classes
  1. Java Collection Framework 
  2. ArrayList Class
  3. LinkedList class in Collection 
  4. ListIterator interface in collection
  5. HashSet class in collection  
  6. LinkedHashSet Class in Collection 
  7. TreeSet Class in Collection 
  8. Difference between HashSet and TreeSet 
  9. Map interface in Collection
  10. HashMap class in collection framework 
  11. How does java Hashmap work internally 
  12. LinkedHashMap class in collection framework
  13. TreeMap class in collection framework 
  14. Difference between TreeMap vs HashMap 
  15. Hashtable class in collection framework 
  16. Difference between HashMap and HashTable in Java 
  17. Sorting in collection framework 
  18. Compare and Comparator in Java  
Collection Classes

An introduction to the Java collection classes. We cover both the basic JDK 1.1 classes, and the new and more extensive JDK 1.2 classes.

JDK 1.2 Collection Classes, ( Vector, Hashtable, Stack ) , JDK 1.2 Collection Classes ( Collection, List, Set, Map, Implementation Classes ), Sorting, Advanced Features .
Java IO

The document object, Presents the overall design of the IO classes and demonstrates IO using Serialisation.

Overview, Non-stream Classes, InputStream hierarchy, Output Stream hierarchy, Character-based Streams, Example using files, Serialisation, Object Streams.
GUI Development

Covers the major aspects of developing GUI applications using Java, with a particular focus on using the AWT classes.

Introduction, Components, Containers and Windows, Laying out Components, Event Handling, Menus, Dialogs, Setting Look-and-Feel.

What is an Applet?, Applet Capabilities and Restrictions, Including applets in Web pages, Writing an Applet, Applets and Swing, the Java Plug – in, Coding for both applets and Applications, Diagnostic Output, Applet – browser Communication, Inter – applet Communication, Signed Applets.

2 thoughts on “Core Java Tutorial-Learn Step by Step with Example”

Comments are closed.