Java Interview Guide: How to Build Confidence With a Solid Understanding of Core Java Principles pdfdrive com



Yüklə 0,53 Mb.
Pdf görüntüsü
səhifə1/47
tarix06.05.2023
ölçüsü0,53 Mb.
#108601
  1   2   3   4   5   6   7   8   9   ...   47
Java Interview Guide




Java Interview Guide
How to Build Confidence With a Solid Understanding
of Core Java Principles
By Anthony DePalma
Copyright © 2015 by Anthony DePalma
All rights reserved.
Editors: Ayesha Khan; Jon Hall
eBook formatting/conversion:
www.fromprinttoebook.com


Table of Contents
Introduction
The Purpose of this Guide
The Java Programming Language
The History of Java
The Java Virtual Machine
Procedural Programming vs Object-Oriented Programming
Questions
Object-Oriented Concepts
Abstraction
Encapsulation
Polymorphism
Mutability
Coupling
Cohesion
Questions
Object-Oriented Programming (Part I)
Classes & Objects
Primitive Types
Arrays
Strings
Enums
Packages
Questions
Object-Oriented Programming (Part II)
Methods


Pass-by-Reference vs Pass-by-Value
The Final Keyword
The Static Keyword
Access Modifiers
Annotations
Questions
The Object Superclass
Clone
Equals
HashCode
ToString
GetClass
Finalize
Wait, Notify, NotifyAll
Questions
Composition & Inheritance
Composition
Inheritance
Method Overriding vs Method Overloading
Composition vs Inheritance
Questions
Abstract Classes & Interfaces
Abstract Classes
Interfaces
Abstract Classes vs Interfaces
Anonymous Classes
Questions


Exceptions
Unchecked Exceptions
Checked Exceptions
Unchecked Exceptions vs Checked Exceptions
Errors
Try/Catch/Finally
Try-With-Resources
Questions
Generics
Compile-Time Errors vs Runtime Errors
Generics
Generic Wildcards
Type Erasure
Questions
Concurrency
Thread Lifecycle
Synchronization
The Synchronize Keyword
The Volatile Keyword
Concurrent Data Structures
The Executor Framework
ThreadLocal Storage
Atomic Variables
Questions
Memory Management
Heap Memory
Garbage Collection


Strong References
Memory Leaks
Soft References
Weak References
Reference Queue
Phantom References
Questions
Java Database Connectivity
Connection
Statements
ResultSets
SQL Injection
Object-Relational Mapping
Questions
Web Applications
The Servlet API
Servlets
JavaServer Pages
Filters
Model-View-Controller
Questions
Web Services
Service-Oriented Architecture
Web Services
SOAP
REST
SOAP vs REST


Questions
Algorithms
Big O Notation
Binary Search
Insertion Sort
Merge Sort
Quicksort
Timsort
Questions
Java Collections Framework
List
Map
Deque
Binary Search Tree
Heap
Set
Iterator
Questions
Important Interfaces
Autocloseable
Comparable
Comparator
Iterable
Runnable
Callable
Serializable
Questions


Creational Design Patterns
Builder Pattern
Factory Pattern
Abstract Factory Pattern
Prototype Pattern
Singleton Pattern
Questions
Structural Design Patterns
Adapter Pattern
Composite Pattern
Decorator Pattern
Facade Pattern
Flyweight Pattern
Questions
Behavioral Design Patterns
Command Pattern
Observer Pattern
Strategy Pattern
Visitor Pattern
Null Object Pattern
Questions
Reflection
Class
Field
Method
Pros and Cons
Questions


Dependency Injection
Inversion of Control
Service Locator vs Dependency Injection
Constructor Injection vs Setter Injection
The Spring Container
Spring Configuration
Spring Lifecycle
Questions
Aspect-Oriented Programming
Core Concerns vs Cross-Cutting Concerns
Aspect-Oriented Programming
Proxy Objects
Interface Proxies
Inheritance Proxies
Runtime Weaving vs Binary Weaving
AspectJ
Questions
Unit Testing
Test-Driven Development
Unit Tests
Test Fixtures
Mock Objects
Questions
Programming Problems
How to Approach Programming Problems
Sample Programming Problems


Interview Preparation
Before the Interview
During the Interview
After the Interview
Interview Questions
About the Author


Introduction
The Purpose of this Guide
This guide will prepare you for an interview to an entry-level or a senior-level
position as a Java software developer. It’s intended to be a high-level resource
and it’s assumed that you are already familiar with the Java language and know
how to write basic applications.
The book is divided into chapters of related concepts that are presented
in interview-sized chunks. At the end of each chapter is a series of potential
interview questions. Read through each chapter and research any topics that are
unfamiliar until you are able to answer every question confidently. All of the
questions are listed again at the end of the book.
In order to get the most out of this guide, make sure that you are able to answer
every question in your own words. From the perspective of an interviewer, it’s
always better to hear a candidate explain something uniquely, because it proves
that you understand the underlying concepts. It will also prepare you for
variations of the same questions. The stronger you understand the concepts,
the more confident you’ll appear in your interview. Are you ready?



Yüklə 0,53 Mb.

Dostları ilə paylaş:
  1   2   3   4   5   6   7   8   9   ...   47




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©azkurs.org 2024
rəhbərliyinə müraciət

gir | qeydiyyatdan keç
    Ana səhifə


yükləyin