0% found this document useful (0 votes)
89 views5 pages

Sudip Sarkar Interview Question

This document contains questions about various Java programming concepts including data types, OOP concepts, the JDK vs JRE vs JVM, constructors, garbage collection, classes vs objects vs methods, return vs return values, packages, type casting, interfaces vs abstract classes, polymorphism, marker interfaces, Java 8 features, access modifiers, the main method, System.out.println(), arrays, serialization, transient vs volatile keywords, final vs finally vs finalize, var type, strings, overloading vs overriding static methods, the Object class, data hiding, static blocks, the super keyword, exceptions and exception handling, threads and concurrency concepts like synchronization, immutable vs mutable classes, pointers in Java, the singleton pattern, collections and
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
89 views5 pages

Sudip Sarkar Interview Question

This document contains questions about various Java programming concepts including data types, OOP concepts, the JDK vs JRE vs JVM, constructors, garbage collection, classes vs objects vs methods, return vs return values, packages, type casting, interfaces vs abstract classes, polymorphism, marker interfaces, Java 8 features, access modifiers, the main method, System.out.println(), arrays, serialization, transient vs volatile keywords, final vs finally vs finalize, var type, strings, overloading vs overriding static methods, the Object class, data hiding, static blocks, the super keyword, exceptions and exception handling, threads and concurrency concepts like synchronization, immutable vs mutable classes, pointers in Java, the singleton pattern, collections and
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

What is static?

Difference between primitive and non-primitive data types?

What is Constructors and its types and need of constructor?

What is OOPS concept? Explain

Difference between JDK, JRE and JVM?

What is anonymous class?

What is Garbage collector and need of garbage collector in java?

What are Class, Method and Object in java?

Difference between return and return value?

What is this keyword?

What are packages in java?

What is type casting and its type explain each?

What is interface and abstract class and when to use interface and when to use abstract class

with example?

What is run time polymorphism?

What are marker interface and its uses and need?

What are java 8 features explain each?

What are access modifier explain each?

Explain main method in java?

What is System.out.println()? Explain

What is Array? And its type

What is Serialization with example?

What is Deserialization with example?

What is transient keyword?

What is volatile keyword?

What is final, finally and finalize in java?

What is var type?

What is string?

Can we overload static method in java?

Can we override static method in java?


What is super most class in java?

What is data hiding and how to achieve?

What is Static block in java?

What is Super keyword in java?

What are Exception in java and its type explain each?

How many ways to handle exception in java explain each?

Explain exception hierarchy?

Can we write finally without catch block?

Difference between throws and throw?

What is thread?

What is Demon thread?

What is multithreads?

Difference between thread join?

Process to create thread and which is best and why?

What is thread scheduler?

Explain wait, notify and notify all?

What is thread pool?

Difference between runnable and callable<T> interface?

Explain thread life cycle?

What is Synchronization?

What is String in java and why String is Immutable in java?

Difference between String, stringbuffer and stringbuilder?

What do you mean by mutable and immutable?

How to make a class immutable with example?

Why java is platform independent language?

Difference between .equals method and == operator in java”?

Why pointers are not used in java?

What is singleton class and how we can make a class singleton?

What is Collection framework?

What are wrapper classes?

What is hash code and equal method?


Why to override hashcode and equal method?

What is JDBC and write code of JDBC?

Difference between Collection and Collections?

Explain List, Set and Queue?

Difference between ArrayList vs LinkedList and Vector?

Explain HashTable and HashMap?

Internal working of HashMap?

What is Collision and how to overcome this?

Difference between synchronized collection and concurrent collection?

Difference between comparable and comparator?

Difference between Enumeration and Iterator?

What are unary operators and its example?

What are association and its type?

Difference between Iterator and ListIterator?

What is Fail fast and fail safe?

What is Servlet?

Difference between Doget and Dopost?

What is InterServlet Communication?

What is Request Dispatcher?

Explain Servlet Life cycle?

What are Session Variables and its type?

Explain JSP life cycle?

What are implicit object?

Explain MVC architecture?

Difference between spring and SpringBoot?

What is Web Services and its type?

How to expose and consume web services?

Difference between SOAP and RESTFull web services?

What is POSTMAN?

Difference between micro services and monolithic applications?

What is Maven?
What is Spring Initilizer?

What is Unit testing?

What is Junit?

What is JPA?

What is Hibernate JPA?

What are Spring IOC and Its type?

what is goto statement in java?

what is swagger?

what is procedure and function?

What are spring boot annotation used in your project explain each?

What is Dependency injection?

Types of Autowire and explain each?

Difference between @Controller and @RestController?

Difference between @Autowiring and @Bean?

What is @Qualifier and @Services and @Component and @Value and @Query ?

Explain @SpringBootApplication?

Difference between BeanFactory and ApplicationContext?

Explain advantage of Hibernate over JDBC?

What are roll back and commit?

Difference between session and sessionFactory?

Difference between get and load method of hibernate?

What is caching and hibernate and explain 1st level and 2nd level caching?

What are Core interface of hibernate?

What is JERA?

How to read application.properties in any class?

What are response codes of POSTMAN?

Explain types of spring bean scope?

What is Actuator in spring boot?

What is Starter tag in spring boot?

Types of hibernate mapping explain each?

Difference between Drop and Truncate?


Write SQL basic query?

Find 2nd max salary from employee table?

What is Primary key and foreign key?

What are joins in SQL explain each?

Explain about Agile methodology?

coding-->

String Occurance.

Replace all the duplicate with -1 and print all elements with duplicates

Convert String to Integer?

Index_with_duplicate_Array

Palindrome_Number and Palindrome_String

Prime_No

Singleton Design Pattern

Amstrong Number

Swaping Variable without using 3rd variable

You might also like