1 / 13

How to Learn Java Programming

Java2Blog is step by step tutorial of java programming language for both beginners and experts.<br>This tutorial explains java language from a basic introduction to advanced frameworks. It provides a detailed explanation of all java concepts with examples in the simplest way. It also provides interview questions on java.

Download Presentation

How to Learn Java Programming

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. JAVA TUTORIAL FOR BEGINNERS HOW TO LEARN JAVA PROGRAMMING

  2. CONCEPTS 1. Overview 2. A Simple Main Program 3. OOP's Concept

  3. OVERVIEW Java is a high-level programming language. Its main feature is a Platform Independency making it different from other languages. Platform Independency means Java compiler generates bytecode instead of machine code. This bytecode can be run on any machine where JVM is available. Java Compiler Java Interpreter Source Code Bytecode Machine Code

  4. OTHER FEATURES Object Oriented Architecture Neutral Multithreaded Robust Secured Simple

  5. SIMPLE JAVA PROGRAM class Demo { public static void main(String args[]) { System.out.println("Hello World"); } }

  6. EXECUTION OF PROGRAM To Compile the above code write the following code javac Demo.java To Run the above code write the following code java Demo

  7. OBJECT ORIENTED CONCEPT Object Polymorphism Abstraction Class Encapsulation Inheritance

  8. OBJECT & CLASS It is a real-time entity that has state and behavior. It may be physical and logical. Object: Class: It is a collection of objects. It is a logical entity.

  9. POLYMORPHISM .One task is performed by different ways is called polymorphism. In Java, we can achieve Polymorphism through Method Overloading and Method Overriding

  10. ENCAPSULATION Encapsulation is binding up of Data and Code into a single unit. A Java class is an example of Encapsulation. Java Bean is fully encapsulated class.

  11. ABSTRACTION Abstraction: Hiding details (Implementation ) and showing only functionality Example- We just send message but we don't know its internal sending process

  12. INHERITANCE When one object acquires all the property and behavior of its parent object , is known as Inheritance. It provides code reusability. Java doesn't support Multiple Inheritance. But In Java, we can achieve concept of Multiple Inheritance through Interfaces

  13. THANK YOU http://www.java2blog.com/

More Related