Code Monkey home page Code Monkey logo

java-interview-preparation's Introduction

Java Interview Preparation

Wrapper Classes

Examples

String Vs StringBuffer

String Vs StringBuffer Performance - JUnit

Basics of Object Oriented Programming

Object basics - Class, Object, State and Behavior
toString() method
EqualsHashCodeExamples
Inheritance, Method overloading and Method overriding
Interface
Abstract Class
Constructors - this() and super()

More Object Oriented Programming Concepts

Polymorphism
InstanceOf
Coupling - Problem and Solution
Cohesion - Problem and Solution
Encapsulation
Inner Class & Static Inner Class
Anonymous Class

Modifiers

Access modifiers - public, private protected and default
Final method, variable, class

Conditions and Loops

Some puzzles on conditions and loops

Operators

Increment/Decrement
InstanceOf Examples
Logical Operators
Relational Operators
String Concatenation Examples
Ternary Operators

Files

Console Examples
File Examples

Exception Handling

Exception Handling - try, catch and finallly
Checked and Unchecked Exceptions
Throwing an exception
Creating Custom Exceptions

Miscellaneus Topics

Arrays
Enum
Variable Arguments
Asserts and Garbage Collection
Static and Member initializers
Serialization

Collections

Collection Interface Hierarchy
Collection and List Interface methods and classes - ArrayList, Vector and LinkedList
Set Interfaces and Implementations - HashSet, LinkedHashSet and TreeSet
Map Interfaces and Implementations - HashMap, LinkedHashMap and TreeMap
Queue Interfaces and Implementations - Deque and BlockingQueue
Collections Code Examples

Concurrent Collections

Concurrent Collections - copyOnWriteArrayList
Compare and Swap, Locks and Atomic Operations

Generics

Multithreading

Multithreading - Need for Threads and Creating Threads
Thread states, priority, ExecutorService and Callable
Synchronization of threads, join, wait, notify and notifyAll methods

Functional Programming - Lambda Expressions and Streams

Functional Programming Examples - Streams and Lambda Expressions
Functional Programming Questions and Answers

Other Topics

Date and Calender
Regex
String and StringBuffer examples
Variables
Scope of variables

Java New Features

New Features of Java 5,6,7 and 8

java-interview-preparation's People

Contributors

harishankar-github avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.