Interview Prep For Java + Angular
Interview Prep For Java + Angular
Mandatory Certifications
# Java: OCP Oracle Certified Professional (OCP) Java SE 11 Developer (1Z0-819) OR
# Java: Oracle Certified Associate Java SE 8 Programmer (1Z0-808 & 1Z0-809 both) OR
# Spring/SpringBoot: Spring Certified Professional (VMWARE) OR
# Angular certification level 2 (from angulartraining.com)
Note: Certifications can be taken after joining the company. Upon clearing, the cost is reimbursed.
Role Description
# Developer role with implementation of Java Backend technologies and tools with required
unit testing
# Work on requirements and user stories in close coordination with other developers and
client's full-time employees
# New coding and maintenance as per the needs of the project
# Good interpersonal and communication skills
# Strong and proven experience with Java programming language and related technologies
implementation
QUESTIONS for Java Backend (incl. Spring, Spring boot, Hibernate, etc.
to prepare)
Spring & SpringBoot
# OOPS concept.
# Serialization and Externalization.
# collections features
# Java 8 features.
# write a program to find even numbers in the list using Stream / StreamAPI questions
# Garbage collection and types like Young generation, Old generation.
# Internal working of hashmap.
# Fail Fast and Fail Safe iterator.
# Design patterns.
# How to execute multiple tasks using a stream
# Fork in Java
# How to remove a specific element from ArrayList
# Convert the list into a set only in a single line of statements.
# What is Hashcode, its use
# Hashcode and equals.
# What is ConcurrentHashMap?
# Difference between the Comparable and Comparator Interface? or how can we do sort of
elements in collections?
# what is a hash collision in HashMap and how it is solved with Java 8?
# Collection – hashmap
# Trees in collection
# From following snippet tell what will be the size of the hashmap:
# By default, the TreeMap gives ascending order. How can we make it in descending order?
# Can we add or remove elements in a list during traversal or will it throw any exception?
# Using stream API convert a list of the employees into the map.
# Unit Testing
# What is mocking?
# Which classes you mocked like controller or service and dao?
# Is it possible to mock static and private methods?
# Mockito and how do u mock dao classes?
Hibernate
MySQL
# Which datatype is used in DB to store numeric value in decimal format, Numeric is there in
MySQL?
# Types of join, and when to use which join
# Union vs Union All
# Triggers
# Stored Procedures and Functions and their difference
# Query – Where Clause, In Clause
# Delete vs Truncate vs Drop
# SQL Inject, how to prevent it.
# Group Clause
# Which is better – Select * or Select column 1, column 2 ….. column N
# Scenario-based Question
Angular
Unix:
1. Syntax for execution of Unix shell scripts.
2. Use of -x in execution command.
The candidate will need to show working experience in various aspects/topics as per below
Technology Topics
OOPS Features - Abstraction, Encapsulation,
Polymorphism, Composition, Aggregation
Exception Handling
Collection Framework
Core Java - Java Multi-Threading
Basics Concurrency Framework
Serialization /Externalization in Java
Class loader types
Java Internal Memory Management
HashMap
Microservices Architecture
SOA Vs Microservices
Pros and Cons of Microservices
Microservices /
Discovery Services, Config Service, Gateway Service etc
Spring Boot
What advantages of Spring Boot framework over Spring
Framework
Spring boot Autodetect Feature
MVC Design Pattern/ Configuration in Spring
Spring MVC Dispatcher Services / Handler Services
XML vs Spring Annotation vs Java Config Annotation
Struts2.0 flow.
The difference between forward and redirect
Struts
Lifecycle of servlet and JSP
How to send data from the servlet to JSP page
SOAP and RESTFUL Web services
How to Expose EJB as a web service
Web service
WSDL generation
SoapUI Tool
When to choose Hibernate and iBatis
load and get in Hibernate
entity class for a table in Hibernate
Types of generators-
Persist, SaveOrUpdate, and merge use
type of cache
lazy loading
Hibernate
What is cascade in hibernate
Mapping And Configuration Files In Hibernate
Hibernate Versioning Of Objects
Inheritance Mapping In Hibernate
Hibernate Inheritance: Table Per Class Hierarchy
Hibernate Inheritance: Table Per subClass Hierarchy
Hibernate Inheritance: Table Per Concrete Class Hierarchy
Basics Concepts of SQL, Joins, IN and EXISTS Clause, Sub
query, With clause query, In line queries
Union and Union all
High Water Mark
Oracle
Triggers/ Procedures/ Functions/Views/M Views/Cursors
Collections- V Array, associate array
Performance tuning - Indexes, hints , explain plan ,
partitioning