Java Programming

Java is the most popular programming languages with 3+ billion devices running on Java, mostly client-server web applications.

Java Topic

  • Basic fundamentals
  • OOPs concepts
  • Inheritance
  • Operators
  • Input and Output
  • Arrays
  • Methods in Java
  • Java Packages
  • Constructors
  • Exception Handling
  • Interfaces and Abstract Classes
  • Collection in Java
  • Multithreading
  • File Handling
  • Networking in Java

Topics

Basic fundamentals

  1. Java Programming Language Introduction
  2. Java Version History
  3. Install Java on Windows, Mac and Linux
  4. Structure of Java Program
  5. Differences between JDK, JRE and JVM
  6. Comments in Java
  7. Java Identifiers
  8. Data types
  9. Enum
  10. Modifiers
  11. Decision Making (if, if-else, switch, break, continue, jump)
  12. Switch Statement in Java
  13. Forward declarations
  14. Widening Primitive Conversion
  15. Arrays
  16. Methods

OOPs concepts

  1. Classes and Objects
  2. Java – Constructors
  3. Swap objects
  4. Inheritance in Java
  5. Encapsulation in Java
  6. Abstraction in Java
  7. Run-time Polymorphism in Java
  8. Access Modifiers
  9. this reference
  10. Method Overloading
  11. Method Overriding

Inheritance

  1. Inheritance in Java
  2. Multiple Inheritance
  3. Extends, super Keywords
  4. Inheritance and constructors
  5. Interfaces and Inheritance
  6. Final class
  7. Override private methods

Operators

  1. Operators
  2. Bitwise operators in Java
  3. new operator
  4. instanceof operator
  5. Autoboxed Integer objects
  6. Addition and Concatenation

Input and Output

  1. Character Stream
  2. Byte Stream
  3. Command Line arguments
  4. Scanner Class
  5. Reading input from console

Arrays

  1. Arrays in Java
  2. Jagged Array
  3. Array vs ArrayList in Java

Methods in Java

  1. Methods Passing parameters
  2. Return Multiple values
  3. Variable Arguments
  4. Method Overloading
  5. Overloading main()
  6. Private and final methods
  7. Passing and Returning Objects in Java

Java Packages

  1. Packages Introduction
  2. java.io package
  3. java.lang package
  4. java.util package

Constructors

  1. Constructors in Java
  2. Default constructor
  3. Assigning values to static final variables
  4. Copy Constructor
  5. Private Constructors and Singleton Classes
  6. Singleton Class
  7. Constructor Overloading

Exception Handling

  1. Exceptions
  2. print Exception messages
  3. Types of Exceptions
  4. Catching base and derived classes as exceptions
  5. Checked vs Unchecked Exceptions

Interfaces and Abstract Classes

  1. Interfaces
  2. Access specifier for methods in interfaces
  3. Access specifiers for classes or interfaces
  4. Abstract Classes
  5. Difference between Abstract Class and Interface in Java
  6. Comparator Interface
  7. Java Interface methods
  8. Nested Interface

Collection in Java

  1. Collections
  2. Class in Java
  3. Enumeration, Iterators and List Iterators Using Iterators
  4. Types of iterator
  5. AbstractList
  6. LinkedList
  7. Immutable List
  8. Queue
  9. Deque
  10. Set
  11. Map
  12. HashTable
  13. Stack
  14. Vector
  15. Vector vs ArrayList
  16. ArrayList vs LinkedList
  17. Comparable vs Comparator
  18. HashMap vs HashTable

Multithreading

  1. Multithreading
  2. Lifecycle of a thread
  3. States of a thread
  4. Methods to prevent thread execution
  5. Java Thread Priority
  6. Deadlock in java

File Handling

  1. File class
  2. Reading a text file in Java
  3. file permissions in java
  4. Delete a file using Java
  5. Delete duplicate lines in text file

Networking in Java

  1. Socket Programming
  2. URL class in Java

3 Comments

  1. import java.util.Scanner;

    class Banana {
    public static void main(String args[]) { // This line is (Banana.java:4)//
    Scanner buck = new Scanner (System.in);
    double fnum, snum, answer;
    System.out.println(“Enter first”);
    fnum = buck.nextDouble();
    System.out.println(“Enter seconod”);
    snum = buck.nextDouble();
    answer = fnum + snum;
    System.out.println(answer);
    }
    }

    It keeps telling me :

    Exception in thread “main” java.lang.Error: Unresolved compilation problem:

    at banana.Banana.main(Banana.java:4)

    I am using JavaSE-1.8

Leave a Reply

Your email address will not be published. Required fields are marked *