30 November 2023
21 November 2023
20 November 2023
#CoreJava
Question count - Last updated - V2 (19-Nov-2023)
What is Single Inheritance? |
What is Multilevel Inheritance? |
What is Hierarchical Inheritance? |
What is Hybrid Inheritance? |
What is Multiple Inheritance? |
What is string constant pool? |
What is special about string objects as compared to objects of other derived types? |
What is the difference between String, StringBuffer and StringBuilder? |
What is string intern? |
What is the main difference between Java strings and C, C++ strings? |
What is the similarity and difference between String and StringBuffer class? |
What is the similarity and difference between StringBuffer and StringBuilder class? |
What is difference between Java 8 StringJoiner, String.join() and Collectors.joining()? |
What is ArrayStoreException in java? When you will get this exception? |
What is an anonymous array? Give example? |
What is the difference between int[] a and int a[] ? |
What is ArrayIndexOutOfBoundsException in java? When it occurs? |
What are the types of inheritance.? |
What are the differences between Array and ArrayList in java? |
What are the different ways of copying an array into another array? |
What are jagged arrays in java? Give example? |
What are the different ways of declaring multidimensional arrays in java? |
What are the different ways to iterate over an array in java? |
What are the drawbacks of the arrays in java? |
What do you mean by inheritance.? |
What do you mean by mutable and immutable objects? |
What do you think about string constant pool? Why they have provided this pool as we can store string objects in the heap memory itself? |
What happens if both, super class and sub class, have a field with same name.? |
What value does array elements get, if they are not initialized? |
What are manipulators? |
What is a virtual function? |
What is a ternary operator? |
What is method overriding? |
What is the main difference between overloading and overriding? |
What is the difference between new and override? |
What is Polymorphism? |
What is Abstraction? |
What is Runtime Polymorphism (Dynamic Polymorphism)? |
What is Compile time polymorphism (Static polymorphism)? |
What is encapsulation? |
What is the diamond problem? |
What is Aggregation? |
What is the difference between Association and Dependency? |
What is Composition? |
What Is Operator Overloading? |
What Is The Use Of Finalize Method? |
What Is Exception Handling? |
What Is Pure Virtual Function? |
What are the rules of method overloading and overriding in Java? |
What is the covariant method overriding in Java? |
What problem is solved by the Strategy pattern in Java? |
What are the problems might be created when you are trying to implement multiple inheritance concept in java? |
What are the pillars of OOP theory? |
What is a parametric constructor? |
What is a friend function? |
What is early binding? |
What is late binding? |
What are tokens? |
What is the need of abstract class? |
What is the key difference between concrete class and abstract class? |
What are the advantages of object oriented programming? |
What are the properties that are defined in an Object model? |
What is Coupling? |
What is Is-A and Has-A relationship? |
What is object cloning? |
What are access modifiers? |
What is a class? |
What is a constructor in java? |
What is a superclass? |
What is a token? |
What is an Abstract class in OOP? |
What is an object? |
What is Association? |
What is class and object? |
What is data hiding? |
What is early and late binding? |
What is inheritance? Benefits? Types? |
What is Oops? Features? Why do we need OOPs? |
What is Static Binding? |
What is subclass? |
What is super () in Java? |
What is the difference between class and structure? |
What is the difference between classes and objects? |
What is Autoboxing and Unboxing? |
What is JVM, JDK and JRE? |
What is the Java?s WORA nature? |
What is Serialization? When should we make use of serialization? |
What is Constructor and Constructor Overloading in Java. |
What is Expressions? |
What is class in Java. |
What is JSON. |
What is Loops? Types? |
What is Interface in Java |
What is Aggregation |
What is Java Collections |
What is Serialization |
What is Use Cases in Java |
What is Overloading and Overriding in Java? |
What is a List? |
What is the case when you override hashcode() and equals() ? What problem can occur if we don?t override hashcode() method? |
What is immutable classes? |
What is Singleton in Java? |
What is the Final Keyword in Java? |
What is Collection and a Collections Framework? |
What do you mean by BlockingQueue in Java Collections Framework? |
What is a platform? |
What is classloader? |
What is the static method? |
What are the two ways of implementing multi-threading in Java? |
What is constructor chaining in Java? |
What kind of variables can a class consist of? |
What is Singleton class? |
What do you mean by Access Modifier? |
What is an applet? |
What is Comparable Interface? |
What are the actions present in the JVM? |
What is the current version of JDK? |
What is Wrapper class? |
What is String? |
What is Function? |
What is Class? |
What is Object? |
What is scope?Describe the types of scope? |
What is Multitasking? How to achieve multitasking? |
What is Thread? |
what is Multithreading? |
What is Serialization? |
What is DeSerialization? |
What is Java ? |
What is Treeset? |
What happens if you add same key in the hashmap? |
What is default method in java 8 interface? |
What is token in c |
What is keywords, data type, constant and variable |
What are the fundamental data type in c |
What are the conditional statement |
What are the un-conditional statement |
What is if?else statement |
What is switch case statements |
What is conditional operator |
What are the iterative statement |
What is an array |
What is sorting |
What is searching |
What is function |
What is recursive function |
What is structure |
What is pre-processor directive |
What is micro in c |
What is file |
What is file pointer |
What is data structure |
What is stack |
What is queue |
What is link list |
What is binary tree |
What is spanning tree |
What is constructor and destructor in c++ |
What is static keyword |
What is friend function |
What is pure virtual function |
What is copy contractor in c++ |
What is Java |
What final in java |
What is super keyword in java |
What is an applet program |
What is thread |
What is synchronisation |
What is JDBC |
What are jdbc driver |
What are steps involved in data base connectivity |
What will be the result of relational operators? |
What will happen if we use throws keyword in body? |
What is the default priority of thread? |
What is default priority of gc()? |
What is Comparator? |
What is workspace? |
What are Access specifiers? |
What is Multiple Mitigation? |
What stand is for JDK, JRR and JVM? |
What is the default size of the loaded factor in hacking on the basis of the collection? |
What is a collection? |
What is Exception Classes are the Basic Class? |
What is a JVM? |
What researchers are in Java? |
What is a standard method? |
What is the subject class? |
What are the packages in Java? |
What is the standard import? |
What is the benefit of Volatile Variable |
What is hashCode method? And why it is to be overridden? |
What is the contract between equals and hashCode? |
What is the need of toString() method? |
What is the need of Reflection API? |
What is the need of anonymous inner classes? |
What is a JVM? What is the utilization of JVM? |
What is the contrast between JDK, JRE and JVM? |
What is Object Oriented worldview? |
What is the EAR record? |
What is a MVC Architecture? |
what number kinds of constructors are utilized in Java? |
What are the principle employments of the super catchphrase? |
What is the distinction between the last strategy and theoretical technique? |
What is the contrast among Collection and Collections in JAVA? |
What is JSTL? |
What are Exceptions in Java? Types? |
What is JSF? |
What are Action Forms? |
What is JDBC? |
What is a JDBC driver and what number of JDBC drivers are accessible? |
What are the JDBC proclamations? |
What are the exemptions in JDBC? |
What the base class in Java from which all classes are derived? |
What the purpose of using Break in each case of Switch Statement? |
What is decision Making in Java |
What is Thread in Java |
What is wait () method |
What is static block |
What is the key word in exceptional handling? |
What is the key word? |
What is banned? |
What is Java Bean? |
What are the operations of collections? |
What are the types of Polymorphism in Java? |
What are the advantages of Polymorphism? |
What is Binding in Java? |
What are the types of binding in Java? |
What is Static binding in Java? |
What is Dynamic binding in Java? |
What is the difference between static binding and dynamic binding in Java? |
What is object-oriented programming? |
What are the four important characteristics of object-oriented programming |
What is procedural programming paradigm |
What is JDK? |
What is JRE? |
What are the main components of JRE? |
What is Class Loader? |
What is Interpreter? |
What is JVM? |
What are the main activities (tasks) that are performed by JVM? |
What is Java API? What is the popular Java API? |
What is Bytecode verifier? |
What is Java Library? |
What is Bytecode in Java? |
What is the difference between bytecode and machine code? |
What is source code in Java? |
What is the difference between source code and bytecode? |
What is the role of Execution engine in JVM? |
What is Java compiler? What are the functions (responsible tasks) for Java compiler? |
What are the different types of memory areas allotted by JVM |
What is JIT Compiler? And explain its need? |
What is constructor? |
What is hashtable? |
What is multi-threading and the ways of implementing multi-threading in Java? |
What is Java Heap Space? |
What is user define function? |
What is garbage collections? |
What is ?this? keyword |
What is ?Super? keyword? |
What is final variable |
What is HashSet |
What is notify () and notify all () |
What is applet |
What is Thread life-cycle |
What are the keywords available in exception handling? |
What are static blocks and static initalizers in Java ? |
What is method overriding in java ? |
What is super keyword in java ? |
What is method overloading in java ? |
What is difference between c++ and Java ? |
What is JIT compiler ? |
What is bytecode in java ? |
What is a class ? |
What is an object ? |
What is method in java ? |
What is encapsulation |
What is constructor in java ? |
What is difference between length and length() method in java ? |
What is ASCII Code? |
What is Unicode ? |
What are constants and how to create constants in java? |
What is ?IS-A ? relationship in java? |
What does null mean in java? |
What all access modifiers are allowed for top class ? |
What are packages in java? |
What are identifiers in java? |
What are access modifiers in java? |
What is the difference between access specifiers and access modifiers in java? |
What access modifiers can be used for class ? |
What is final access modifier in java? |
What are abstract methods in java? |
What is an exception in java? |
What is Exception handling in java? |
What is an eror in Java? |
What are advantages of Exception handling in java? |
What are checked Exceptions? |
What are unchecked exceptions in java? |
What is default Exception handling in java? |
What is the maximum size of vector in Java? |
Name the Data Types that are supported by Java? |
Name the different states of a thread. |
Name the most important aspect of Java |
Write a Java program to reverse a string? |
Write a Java program to check whether two strings are anagram or not? |
Write a Java program to reverse a given string with preserving the position of spaces? |
Write a code to prove that strings are immutable in Java? |
Write a code to check whether one string is a rotation of another? |
Write a Java program to reverse each word of a given string? |
Write a Program using Arraylist to add and remove some items from the list. |
Explain about main() method in java ? |
Explain Java Coding Standards for classes or Java coding conventions for classes? |
Explain Java Coding standards for interfaces? |
Explain Java Coding standards for Methods? |
Explain Java Coding Standards for variables ? |
Explain Java Coding Standards for Constants? |
Explain about instanceof operator in java? |
Explain what access modifiers can be used for methods? |
Explain what access modifiers can be used for variables? |
Explain about abstract classes in java? |
Explain try and catch keywords in java? |
Explain importance of finally block in java? |
Explain differences between checked and Unchecked exceptions in java? |
Provide the features of Hashtable method |
Provide the list of thread methods to stop a thread in Java |
Provide byte datatype default value in Java |
Why StringBuffer and StringBuilder classes are introduced in Java when there already exist String class to represent the set of characters? |
Why Java does not support multiple inheritance? |
Why is Inheritance used in Java? |
Why is OOP better than procedural? |
Why is dynamic binding used in object-oriented programming? |
Why Encapsulation in java is called as Data hiding in java? |
Why is Java known as the Platform Independent Programming Language? |
Why break is used in Switch Statement?s each case? |
Why are Strings are called as Immutable? |
Why Java is considered dynamic? |
Why is StringBuffer called mutable? |
Why Runnable Interface is used in Java? |
Why IS Java application platform independent? |
Why used super and this keyword in java? |
Why we cannot be apply access specifiers to packages, initializers, local variables? |
Why do we say Java is dynamic? |
Why java is platform-independent language? |
Why wait() method is in Object class and not in Thread class? |
Why Map Hierarchy is kept separate form Collection Hierarchy? |
Why static binding is also called early binding in Java? |
Why Dynamic binding is also called late binding in java? |
Why binding of private, static, and final methods are always static binding in Java? |
Why is Java System Independent |
Why is Java Portable? |
Why compiled java code can execute on different computer machines? |
Why java is platform independent? |
Why main() method is public, static and void in java ? |
Why ArrayList is faster than Vector? |
Why Vector is deprecated in Java? |
Why use stack instead of vector? |
Which class do you recommend among String, StringBuffer and StringBuilder classes if I want mutable and thread safe objects? |
Which one will you prefer among ?==? and equals() method to compare two string objects? |
Which class Cannot be a subclass in Java? |
Which types of exceptions are caught at compile time? |
Which thread will execute first? |
Which data structure set uses? |
Which name will be checked by the compiler for the execution of program? |
Which name will be checked by the JVM after the compiling the program? |
Which operators are used for masking the data in encryption and decryption process? |
Which is maintained to manage the life cycle of local variables? |
Which operator is not used in java? |
Which exceptions are used to represent the business/environmental failure? |
Which feature allows the JVM to run more than one thread in java? |
Which methods are there in the thread class? |
Which condition will result in Illegal state exception? |
Which will manage the lifecycle of thread? |
Which interface will result in sorted order? |
Which will interact with hard disk? |
Which of the following is not the Java object Class method? |
Which is faster set or vector? |
How to reverse a sentence word by word in Java? |
How do you implement multiple inheritance in java? |
How do you restrict a member of a class from inheriting to it?s sub classes.? |
How do you create mutable string objects? |
How do you convert given string to char array? |
How do you count the number of occurrences of each character in a string? |
How do you remove all white spaces from a string in Java? |
How do you find duplicate characters in a string? |
How do you convert string to integer and integer to string in Java? |
How do you check the equality of two arrays in java? OR How do you compare the two arrays in java? |
How do you sort the array elements? |
How do you find the intersection of two arrays in java? |
How do you search an array for a specific element? |
How do you find duplicate elements in an array? |
How do you find second largest element in an array of integers? |
How do you find all pairs of elements in an array whose sum is equal to a given number? |
How do you separate zeros from non-zeros in an integer array? |
How do you find continuous sub array whose sum is equal to a given number? |
How find maximum occurring character in a string in Java? |
How HashMap internal working ? |
How internallly hashset working? |
How is Inheritance useful to achieve Polymorphism in Java? |
How many instances can be created for an abstract class? |
How Can We Call The Base Method Without Creating An Instance? |
How do you differentiate between a class and an object? |
How do structure and class differ? |
How a program can be structured using the concept of Object oriented programming? |
How many types of constructors are used in Java? |
How can struct be instantiated? |
How do you differentiate a HashSet class and a TreeSet class? |
How can you define Object Cloning in Java? |
How can we execute any code even before the main method? |
How would you call wait() method? Would you use if block or loop, and why? |
How do you take thread dump in Java? |
How we can execute any code even before main method? |
How can we make the copy of a Java object? |
How to achieve lock? |
How to get the current thread? |
How to sort the collections? |
How are they destroyed in Java? |
How many times do you call the trash cushion for the last time () method for an object? |
How can garbage collection be enforced? |
How many ways the object can be created? |
How Java compiler differentiate between methods in Compile time Polymorphism? |
How to achieve/implement dynamic polymorphism in Java? |
How Java compiler performs static binding? |
How JVM performs dynamic binding in Java? |
How does Bytecode work in Java? |
How to call one constructor from the other constructor ? |
When a byte datatype is used? |
When parseInt() method can be used? |
When throw keyword is used? |
When a super keyword is used? |
When null pointer exception occurs? |
When Out of memory error occurs? |
When Out of stack error occurs? |
When we can use final class? |
When was Java created? |
Where exactly string constant pool is located in the memory? |
Where all string literals are managed? |
Difference - Composition vs Inheritance? |
Difference - Procedural programming VS OOPS |
Difference - Compile-time and runtime-polymorphism? |
Difference - Primitive == vs overridden equals() method? |
Difference - String vs StringBuffer vs StringBuilder? |
Difference - Checked and Un-Checked Exceptions? |
Difference - throw and throws keyword? |
Difference - wait() and sleep() method? |
Difference - Abstraction vs encapsulation |
Difference - ArrayList and Vector |
Difference - ArrayList and Vector? |
Difference - Enumeration and Iterator? |
Difference - JDK, JRE, and JVM? |
Difference - Inner Class and a Sub-Class? |
Difference - Sleep and Wait in Java? |
Difference - final, finalize and finally? |
Difference - poll() and remove() method? |
Difference - StringBuilder and StrinngBuffer? |
Difference - Abstract and Interface |
Difference - while and do-while |
Difference - Fixed and Dynamic load? |
Difference - Array and Vector? |
Difference - Stack and Queue? |
Difference - Stack and the Queue? |
Difference - importing java.util.Date and java.util? *? |
Difference - Multithreading and Multiprocessing? |
Difference - Array and Arraylist? |
Difference - error and exception? |
Difference between abstract and final method |
Difference - ArrayList and a LinkedList? |
Difference Java compiler and interpreter? |
Difference - NoClassDefFoundError vs ClassNotFoundException? |
Difference between method overloading and method overriding in java ? |
Difference between abstract class and interface ? |
Difference between this() and super() in java ? |
Difference between Character Constant and String Constant in java ? |
Difference between ?>>? and ?>>>? operators in java? |
Difference between overriding and overloading in java? |
Difference between ?IS-A? and ?HAS-A? relationship in java? |
In how many ways you can create string objects in Java? |
In a class which is the default access modifier in java? |
In which scenarios Arraylist and LinkedList will be used? |
In Heap memory which variables are created? |
In java, how arrays are created? |
In Java is it pass by value or pass by reference? |
Will all the Try blocks in Java end with Catch Blocks? |
Will you be able to overload the main() method? |
Do you have any idea why strings have been made immutable in Java? |
Do you know whether constructor returns any value in Java? |
What is Destructor? |
Abstract class cannot be instantiated. Why? |
Abstract method cannot have body, why? |
Are constructors and initializers also inherited to sub classes.? |
Are static members inherited to sub classes? |
Are you connecting to a database in Java? |
Are the exceptions defined in JavaScript packages? Or are there any definitions for all classes? |
At time of method overriding can return type be different? |
Can a class extend more than one classes or does java support multiple inheritance? If not, why? |
Can a class extend itself.? |
Can we call String class methods using string literals? |
Can you pass the negative number as an array size? |
Can you change the size of the array once you define it? OR Can you insert or delete the elements after creating an array? |
Can you instantiate this class? |
Can we make a class both final and abstract at the same time? |
Can you explain what Access Modifiers are? |
Can we change the scope of the overridden method in the subclass? |
Can we override a method declared as private in java? |
Can you override the method which is declared as final? |
Can a constructor be declared as private in java? |
Can a class extend two interfaces wherein they both have a method with the same name and signature in java? |
Can struct have Parameterless constructor? |
Can constructor be static? |
Can a struct be null? |
Can struct have inheritance? |
Can struct inherit? |
Can we override static method? |
Can you call the base class method without creating an instance? |
Can you explain what Access Modifiers are? |
Can a class have multiple constructors? |
Can we have two methods in a class with the same name? |
Can we use a default constructor of a class even if an explicit constructor is defined? |
Can we override a method by using same method name and arguments but different return types? |
Can we add null key to the hashmap? |
Can we have filename and classname as same? |
Can we have two start() methods in thread execution? |
Can a Dead End Start Again? |
Can the standard block be lifted? |
Can we try or do not try to stop it? |
Can finally ban without c block? |
Can exceptions occur in catch block? |
Can you give an example of pointers? |
Can static methods be overridden? |
Can you handle a catch in an exception to an exception? |
Conside the following block and predict the output |
Consider the following code. |
Differences - Polymorphism and Inheritance |
Does java 8 supports functional programming? |
Does java support pointers? |
From which method the execution of java programs begins? |
Functions of JVM and JRE? |
Garbage collection in Java? |
Give an example of static binding. |
Give an example of dynamic binding in Java. |
Give few examples of object-oriented language other than Java |
Hashmap put() operations uses which datastrcture when the hashcode is same ? |
If we don?t initialize Boolean variable and print that Boolean value, false will be the output |
Is String a keyword in Java? |
Is String a primitive type or derived type? |
Is Java a pure object-oriented language? if not why? |
Is a method declared as final inherited in java? |
Is it possible to declare a class as Abstract without using any abstract method? |
Is it true that a java program never goes out of memory because of garbage collection feature? |
Is throw and throws keyword can be used interchangeably? If no, what is the difference between the two? |
Is String a data type in java? |
Is ++ operator thread-safe in Java? |
Is wrapper classes overrides hashcode and equals method. |
Is there a number of capture blocks after an endorsement line? |
Is it possible to make a constructor final? |
Is it possible to overload the constructors? |
Is it possible to use both ?this()? and ?super()? in a constructor? |
Is possible for you to declare a constructor as final? |
Is it possible to implement runtime polymorphism by data members in Java? |
Java is fully OOPS language or not? |
List out the 5 access modifiers |
List any five features of Java? |
List the three steps for creating an Object for a class? |
List out the different access specifiers available for Java classes |
List out the constructors in Java |
List out the advantages of Java packages |
List out the vital advantages of the keyword ?Super? |
List out the interfaces available in Java collections |
List out the Classes available in Java collections |
List out the maps available in Java collections |
Mention the access specifiers used in Java? |
Mention the class which is the superclass for the entire classes |
Print all substrings of a string in Java? |
Print common characters between two strings in alphabetical order in Java? |
Sort of ancient data types? |
The object which has no reference is called? |
The use of Java?s last words? |
Throw some light on the main features of Java. |
Throwing in Java |
To set a permit for the thread that wants access to the shared resource is called, |
Two differences in the state between a class and one square |
Types of Access Specifiers? |
While creating the multidimensional arrays, can you specify an array dimension after an empty dimension? |
You know that all classes in java are inherited from java.lang.Object class. Are interfaces also inherited from Object class.? |
Programming |
|
OOPS |
|
#Spring_Framework
Question count - Last updated - V2 (19-Nov-2023)
Define the two (2) types of IOC specifiers which are present in the spring. |
What is Spring Core? |
What is the purpose of BeanFactoryPostProcessor? |
What are all the AOP advices used in Spring Transaction internally? |
What is RowMapper? For which sake we will use RowMapper? |
What are all the annotations used in inside of @SpringBootApplication annotation? |
What is CLI in SpringBoot? What is the use? |
What is Bean Lifecycle? |
What is Front Controller? |
What is the reason to create two inject with each other. |
What is Handler Mapping? What is the purpose of Handler Mapping? |
What is the Use of support(Class class) method and validator class of Validator class? |
What is Handler interceptor? |
What are all the benefits of Spring ORM? |
What does my Authenticate manager will do? |
What is view Resolver? How many types of view Resolvers are there? |
What is DataSource? What is the implementation spring provided for dataSource? |
What is NamedParameterJDBCTemplate? |
What is the Use of @PostConstruct and @PreDestroy annotations? |
What is Dependency Check in Spring? |
What is BeanAlias in Spring? |
What is the use of BeanPropertySqlParameterSource? |
What is method Replacement in Spring? |
What is the use of @Configuration use and wen we will use? |
What are all the StereoType Annotation Spring provided and Which scenario we need to use Which Annotation? |
What is the Use of RequestMappingHandlerAdapter? |
What are the attributes which helps to slove ambiguity problem in constructor dependence Injection? |
What is mutual dependences? |
What is depends on attribute? |
What is the disadvantage of auto wiring? |
What is the use of singleton attribute? |
What is the attribute used for secondary dependency Injection using Xml? |
What are the methods present in FactoryBean Interface? |
What is the use of isSingleton() in FactorBean? |
What is the use of PropertyPlaceHolderConfiguration class? |
What is the use of hibernate template? |
What is the use of |
What is AutowiredAnnotationBeanPostProcessor? |
What is the default handler mapping? |
What are various handler mappings? |
What are @PostConstruct and @PreDestroy annotations? |
What is spring-boot-starter-parent? |
What is @SpringBootTest? |
What is the use of spring-boot-devtools? |
What are dependencies required in any application to make has JPA application? |
what is CrudRepository? |
What is the use of Actuator in Springboot? |
What is H2 in Springboot? |
What is the default scope? |
What are the Spring scopes? |
What is Session scope? |
What are different types of Autowire? |
What are types of pointcuts? |
What are types of Advisors? |
What is a Spring Configuration File? |
What are the benefits of IOC? |
What are the five (5) bean scopes supported by spring? |
What are the three ways in which injection dependencies can be done? |
What is meant by bean wiring in spring? |
What are the exceptions which are been thrown by the spring DAO classes? |
What are classes which are present in spring JDBC API? |
What are the two transaction management which spring supports? |
What is joinPoint? |
What is an Advice? Types? |
What is meant by DispatcherServlet? |
What are the different AOP implementations? |
What are the features which are now available in spring framework 4.0 and spring framework 0? |
What is the main configuration of @SpringBootApplication? |
What are the ways to create application context in java program? |
What are the different modules in Spring framework? |
What is BeanFactory? |
What is AOP Alliance? |
What is Spring configuration file? |
What are different types of Autowire types? |
What is the purpose of the session scope? |
What is the default scope in the web context? |
What does the InternalResourceViewResolver do? |
What internal resource views? |
What is springAOP and aspectAOP? |
What is Weaving |
What is Front Controller |
What is the role of IOC container in the spring |
What is ViewResolver in spring |
What is Spring Framework? Advantages? |
What are the components availble in Spring application? |
What is Auto Wiring and their modes |
What is dependency injection |
What is @RequestMapping annotation |
What is Aspect Oriented Programming |
What is Proxy in Spring Framework |
What is component scan |
What is Dirty Read |
What is Spring Internationalization |
What are the differences between Model, ModelMap, and ModelAndView? |
What does the @Valid annotation indicate in Spring? |
What does the double wildcard (*) on a servlet mapping url-pattern mean? |
What exactly is Field Injection and how to avoid it? |
What is difference between @RequestBody and @RequestParam? |
What is Dispatcher Servlet in Spring? |
What is recommended way for spawning threads from a servlet in Tomcat |
what is the command object in spring framework |
What is the difference between defining @Transactional on class vs method |
What is the difference between ResponseEntity < T > and @ResponseBody? |
What is the difference between spring factory-method and factory-bean? |
what tomcat native library should I be using in production? |
Why spring provided Starter Dependencies? |
Why spring integrated with AspectJ? |
Why Servlet called as Controller in spring? |
Why Bean Factory Removed? |
Why are controllers testable artifacts? |
Why DispatcherServlet creates another application context? |
Why is my Spring 3 Validator Validating Everything on the Model? |
Why this Spring application with java-based configuration don't work properly |
Why use only one SessionFactory Object per application? |
Which objects will be created by defalut when we inject list, set and map depedencies by xml? |
Which method is used to set the data source in jdbc template? |
Which is better, return ?ModelAndView? or ?String? on spring3 controller |
How IOC container will create Object for Private constructor classes? |
How many AOP implementations Spring support? Why? |
How many times the static pointcut matches method will be called? |
How to work with Spring JDBC? |
How dispatcher servlet know which Handler Mapping its has to go? |
How many ways we can break the singleton? |
How to rectify the ?ContextLoaderListener? class not Found Exception wile deploing Application in WebServer. |
How to make scope has prototype? |
How to solve the ambuguity problem when autowire is byType? |
How to use look-up depenendence Injection? |
How to use Initializing and Disposable Bean? |
How many command controllers are present? |
How to use CrudRepository? |
How to inject arraylist into a class through xml? |
How are the records fetched by the spring JDBC Template? |
How can you fetch records by spring JdbcTemplate? |
How can I @Autowire a spring bean that was created from an external jar? |
How can I make Spring WebServices log all SOAP requests? |
How do I get the Session Object in Spring? |
How do I obtain the Jackson ObjectMapper in use by Spring 4.1? |
how do you inject a bean into a @Controller class |
How do you receive a url parameter with a spring controller mapping |
How does @RequestParam in Spring handle Guava's Optional? |
How does autowiring work in Spring? |
How does the Spring @ResponseBody annotation work in this RESTful application example? |
How exactly works the Spring bean post processor? |
How Spring Cloud Gateway is different from Zuul |
How to access plain json body in Spring rest controller? |
How to autowire RestTemplate using annotations |
How to bind an object list with thymeleaf? |
How to change HAL links format using Spring HATEOAS |
How to change the content type in exception handler |
How to config ?CommonsMultipartResolver? in spring4 without xml to upload file |
How to configure annotations processing in IntelliJ IDEA 14 for current project work? |
How to configure embedded Tomcat integrated with Spring to listen requests to IP address, besides localhost? |
How to configure MappingJacksonHttpMessageConverter while using spring annotation-based configuration? |
How to convert a multipart file to File? |
How to correctly prevent caching of 302 redirect location? |
How to correctly use PagedResourcesAssembler from Spring Data? |
How to enable browser caching of static content(images, css, js) with Tomcat? |
How to get error text in controller from BindingResult |
How to get the request context in a freemaker template in spring |
How to handle MaxUploadSizeExceededException |
How to handle requests that includes forward slashes (/)? |
How to implement @RequestMapping custom properties |
How to loop through Map in Thymeleaf |
How to manage REST API versioning with spring? |
How to map Page < ObjectEntity > to Page < ObjectDTO > in spring-data-rest |
How to mix spring-data-rest with spring websocket into a single implementation |
How to obtain a current user locale from Spring without passing it as a parameter to functions? |
How to POST JSON data with Curl from Terminal/Commandline to Test Spring REST? |
How to prevent parameter binding from interpreting commas in Spring 3.0.5? |
How to re-create database before each test in Spring? |
How to redirect URLs with trailing slash to the corresponding ones without it? |
How to return a custom object from a Spring Data JPA GROUP BY query |
How to return JSON data from spring Controller using @ResponseBody |
How to reuse a Criteria object with hibernate? |
how to send an array in url request |
How to send list of Objects to View and back to Post method in controller |
How to serve .html files with Spring |
How to serve static html content page in spring-boot |
How to set Environment Variable in Netbeans? |
How to specify validation group for @Valid? |
How to test if JSON path does not include a specific element, or if the element is present it is null? |
How to use @Autowired in a Quartz Job? |
How to use Collections.sort() in Java ? (Specific situation) |
How to use Layered architecture of spring and still follow object oriented structure? |
How to write a spring bean with a constructor that contains a list? |
When we should go for Abstract Wizard Controller? |
when we call getbean method two times for creating object when scope is default how many objects are created? |
When we need to go for point-cut? |
When to use BeanNameUrlHandlerMapping? |
When to use After throwing advice? |
When do I use path params vs. query params in a RESTful API? |
When to use @RestController vs @RepositoryRestResource |
When to use ModelAndView vs Model in Spring? |
When use AbstractAnnotationConfigDispatcherServletInitializer and WebApplicationInitializer? |
When use ResponseEntity |
Where can I download JSTL taglibs? i.e. jstl.jar and standard.jar |
Where can I download Spring Framework jars without using Maven? |
Where is the @Autowired annotation supposed to go - on the property or the method? |
Difference - auto wire and @Autowired? |
Difference - application context and Bean factor? |
Difference - Bean factory and Application context. |
Difference - Constructor Injection and Setter Injection. |
Difference - Spring AOP and AspectJ AOP |
Difference between @Valid and @Validated in Spring |
Difference between JAX-RS and Spring Rest |
Difference between modelAttribute and commandName |
Difference between modelAttribute and commandName attributes in form tag in spring? |
difference between redirect and redirect inside modelandview |
Difference between spring @Controller and @RestController annotation |
Difference between the annotations @GetMapping and @RequestMapping(method = RequestMethod.GET) |
Difference webcontent and webapp |
In Spring AOP with which Advice programmer have a control? |
In which the run time exception occurs JDBC or Spring JDBC? |
In Which data base connection close is mandatory JDBC or Spring JDBC? |
In the spring container, how are the configuration metadata are been provided? |
In how many ways spring can be used to access hibernate? |
In Spring 3 is it possible to dynamically set the reason of @ResponseStatus? |
${employee.id} from List in JSP throws java.lang.NumberFormatException: For input string: ?id? |
@Autowire strange problem |
@Autowired - No qualifying bean of type found for dependency |
@Bean Annotation in which scenario we will use. |
@ModelAttribute annotation, when to use it? |
@RequestBody and @ResponseBody annotations in Spring |
@RequestParam vs @PathVariable |
@Service are constructed twice |
?Could not find acceptable representation? using spring-boot-starter-web |
?Not supported for DML operations? with simple UPDATE query |
404 error redirect in Spring with java config |
About multiple containers in spring framework |
AbstractWizardFormController using Annotated @Controllers |
Accessing Spring beans from a Tiles view (JSP) |
Add attributes to the model of all controllers in Spring 3 |
Adding a directory to tomcat classpath and read the property file in spring |
Adding multiple validators using initBinder |
Advantages of using spring stereotypes? |
alternative to GrantedAuthorityImpl() class |
Ant, Tomcat Build Error: java.lang.NoClassDefFoundError: org/apache/tomcat/util/buf/B2CConverter |
Any open source Spring sample project that's bigger than PetClinic? |
applicationContext not finding Controllers for Servlet context |
Are Spring singleton beans thread-safe? |
Authentication and authorization in Spring Data REST |
automatically add header to every response |
Autowiring fails: Not an managed Type |
Autowiring two beans implementing same interface - how to set default bean to autowire? |
BCrypt performance deterioration |
Bean injection inside a JPA @Entity |
BeanNotOfRequiredTypeException |
Best practices for rolling back transactions in Spring 3/Hibernate |
Binding a list in @RequestParam |
Can anyone explain servlet mapping? |
Can I make a custom controller mirror the formatting of Spring-Data-Rest / Spring-Hateoas generated classes? |
Can Jackson be configured to trim leading/trailing whitespace from all string properties? |
Can not find the tag library descriptor of springframework |
Cannot Autowire Service in HandlerInterceptorAdapter |
Combine GET and POST request methods in Spring |
Configuring RequestContextListener in SpringBoot |
Confused about how to handle CORS OPTIONS preflight requests |
Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported for @RequestBody MultiValueMap |
ConversionService in Spring |
Convert StreamResult to string or xml |
Converting empty String to null Date object with Spring |
Copy specific fields by using BeanUtils.copyProperties? |
CORS with spring-boot and angularjs not working |
Could not autowire field in spring. why? |
could not extract ResultSet in hibernate |
Could not open ServletContext resource |
create two method for same url pattern with different arguments |
Custom HttpMessageConverter with @ResponseBody to do Json things |
DataTables Error: ?Requested unknown parameter? |
Delete cookie from a servlet response |
Different property variable for Local and prod Environment (Spring) |
Display JSON Data in HTML Table |
Does curl remove new line characters? |
Does Spring require all beans to have a default constructor? |
Download file with original file name |
Dynamic Web Module 3.0 ? 3.1 |
Eclipse warning: XXXXXXXXXXX.jar will not be exported or published. Runtime ClassNotFoundExceptions may result |
Error creating bean with name 'entityManagerFactory' defined in class path resource : Invocation of init method failed |
Error in Web.xml "Element ? is not allowed here |
Error: javax.persistence.JoinColumn.foreignKey()Ljavax/persistence/ForeignKey with Spring controller |
exception loading sessions from persistent storage |
Failed to load Main-Class manifest attribute while running java -jar |
File Upload with Angular2 to REST API |
Filter order in spring-boot |
Finding your application's URL with only a ServletContext |
Forward HttpServletRequest to a different server |
Get ?Invalid derived query? error all over the place in our Spring Data JpaRepository interfaces in STS 3.1 |
Get last records ordered by data on Spring Data |
getServletConfig().getServletContext() equivalent in Spring |
getServletConfigClasses() vs getRootConfigClasses() when extending AbstractAnnotationConfigDispatcherServletInitializer |
Getting a org.springframework.beans.factory.BeanCreationException with my first Maven, Spring Project |
Getting java.lang.ClassNotFoundException: javax.servlet.ServletContext in JUnit |
Give the limitations with auto wiring |
Give the abbreviation for JDO and JPA |
Hibernate validator: @Email accepts ask@stackoverflow as valid? |
HQL ERROR: Path expected for join |
HttpSession null after replacing AuthorizationRequest |
I am confused about how to use @SessionAttributes |
I can't debug using breakpoints |
IncompatibleClassChangeError: class ClassMetadataReadingVisitor has interface ClassVisitor as super class |
Infinite Recursion with Jackson JSON and Hibernate JPA issue |
INFO: No Spring WebApplicationInitializer types detected on classpath |
Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: |
IntelliJ Artifact has invalid extension |
IntelliJ IDEA shows errors when using Spring's @Autowired annotation |
IntelliJ needs to copy tomcat/conf directory to project directory |
IntelliJ says 'cannot run program '/path/to/tomcat/bin/catalina.sh' error=13 permission denied |
INTERFACES or TARGET_CLASS which proxyMode to choose |
Is it possible to have empty RequestParam values use the defaultValue? |
Is it possible to use different view resolvers? |
Is it possible to use multiple params in the itemLabel of a form:select/form:option |
Is there a templating language similar to Razor for Java Spring web applications? |
Isolated Controller Test can't instantiate Pageable |
Jackson 2.0 with Spring 3.1 |
Jackson's @JsonView, @JsonFilter and Spring |
Java config for spring interceptor where interceptor is using autowired spring beans |
java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet |
java.lang.IllegalArgumentException: A ServletContext is required to configure default servlet handling |
java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileItemFactory |
java.lang.NoSuchMethodError: javax.servlet.ServletContext.getContextPath()Ljava/lang/String; |
Jetty Annotation Timeout Reason |
JSON character encoding |
JSON Post request for boolean field sends false by default |
JSR-303 @Valid annotation (nested object) not working |
Launching Spring application Address already in use |
LazyInitializationException: failed to lazily initialize a collection of roles, could not initialize proxy - no Session |
Limitations of Dependency Injection |
List out the major features in the versions of spring framework |
List out the roles of an IOC Container |
List some of the AOP Terminologies |
List out some important spring annotations |
Loading context in Spring using web.xml |
log4j:WARN No appenders could be found for logger in web.xml |
Manually call Spring Annotation Validation |
Maven- No plugin found for prefix 'spring-boot' in the current project and in the plugin groups |
Migrating from Spring 3 to Spring 4 - org.springframework.scheduling.quartz.CronTriggerBean |
ModelMap usage in Spring |
Multiple scenarios @RequestMapping produces JSON/XML together with Accept or ResponseEntity |
Multiple Spring @RequestMapping annotations |
My Application Could not open ServletContext resource |
Neither BindingResult nor plain target object for bean name available as request attr |
Neither BindingResult nor plain target object for bean name available as request attribute |
No adapter for handler exception |
No mapping found for HTTP request with URI [/WEB-INF/pages/apiForm.jsp] |
No mapping found for HTTP request with URI? in DispatcherServlet with name |
No matching bean of type ? found for dependency |
No WebApplicationContext found: no ContextLoaderListener registered? |
Not supported for DML operations with JPA update query |
One-to-many relation ship how we will map objects in Spring JDBC? |
Org.Hibernate.AnnotationException: No Identifier Specified For Entity I don't have a id in my table |
org.hibernate.HibernateException: /hibernate.cfg.xml not found |
org.springframework.web.multipart.MultipartException: The current request is not a multipart request |
Passing an Array or List to @Pathvariable - Spring/Java |
Passing data in the body of a DELETE request |
PathVariable in Spring Controller |
Prototype Bean doesn't get autowired as expected |
purpose of webAppRootKey? |
Reasons for not directly writing Servlets for creating a REST API |
Redirect from one controller method to another controller method |
Redirect on Ajax Jquery Call |
Registering beans(prototype) at runtime in Spring |
request scoped beans in spring testing |
Resolving spring:messages in javascript for i18n internationalization |
REST with Spring and Jackson full data binding |
RESTful Authentication via Spring |
Scope of a Spring-Controller and its instance-variables |
Sending GET request with Authentication headers using restTemplate |
Sending message to specific user on Spring Websocket |
Sending Multipart File as POST parameters with RestTemplate requests |
Serializing enums with Jackson |
Set Jackson Timezone for Date deserialization |
Setting Precedence of Multiple @ControllerAdvice @ExceptionHandlers |
Should I build a REST backend for GWT application |
Should I put the ID of my entity in the URL or into the form as a hidden field? |
Should web service be separate from web site? |
Solve ?failed to lazily initialize a collection of role? exception |
Some clarification about Spring @Transactional annotation on a method |
Spring ORM based on which design pattern it implemented? |
Spring container creates the objects instand of us we call it? |
Spring - applicationContext.xml cannot be opened because it does not exist |
Spring - No EntityManager with actual transaction available for current thread - cannot reliably process 'persist' call |
Spring - Redirect after POST (even with validation errors) |
Spring : File Upload RESTFUL Web Service |
Spring @ExceptionHandler does not work with @ResponseBody |
Spring @Repository best practices |
Spring @Transactional not working |
Spring 3 - Create ExceptionHandler for NoSuchRequestHandlingMethodException |
Spring 3 RequestMapping: Get path value |
Spring 3.0 forwarding request to different controller |
Spring 3.0 making JSON response using jackson message converter |
Spring 3.1 JSON date format |
Spring 3.1 or Later @RequestMapping Consumes/Produces |
Spring 3.1 WebApplicationInitializer & Embedded Jetty 8 AnnotationConfiguration |
Spring 3.2 Autowire generic types |
Spring 3.2 Test, com.jajway not included as dependency |
Spring 3.x JSON status 406 ?characteristics not acceptable according to the request ?accept? headers ()? |
Spring 4 - addResourceHandlers not resolving the static resources |
Spring 4 vs Jersey for REST web services |
Spring 5.0.3 RequestRejectedException: The request was rejected because the URL was not normalized |
Spring AOP Advice on Annotated Controllers |
Spring ApplicationContext - Resource leak: 'context' is never closed |
spring autowiring with unique beans: Spring expected single matching bean but found 2 |
Spring configure @ResponseBody JSON format |
Spring Controller @RequestBody with file upload is it possible? |
Spring CORS No 'Access-Control-Allow-Origin' header is present |
Spring data jpa- No bean named 'entityManagerFactory' is defined; Injection of autowired dependencies failed |
Spring data jpa save can not get id |
Spring Data JPARepository: How to conditionally fetch children entites |
Spring Data Rest and Cors |
spring error during build |
Spring Forms - How to Check for Error on Specific Path |
Spring Framework 3 and session attributes |
Spring get current ApplicationContext |
Spring Global CORS configuration not working but Controller level config does |
Spring HandlerInterceptor vs Servlet Filters |
Spring Hibernate - Could not obtain transaction-synchronized Session for current thread |
Spring JPA (Hibernate) No qualifying bean of type: javax.persistence.EntityManagerFactory |
Spring login form example |
Spring Partial Update Object Data Binding |
Spring RedirectAttributes: addAttribute() vs addFlashAttribute() |
Spring RequestMapping for controllers that produce and consume JSON |
Spring REST multiple @RequestBody parameters, possible? |
Spring Rest POST Json RequestBody Content type not supported |
Spring REST using Jackson - 400 bad request logging |
SPRING REST: The request was rejected because no multipart boundary was found |
Spring RestTemplate invoking webservice with errors and analyze status code |
Spring startup performance issues |
Spring store object in session |
Spring WebSocket @SendToSession: send message to specific session |
Spring XML namespaces : How do I find what are the implementing classes behind them? |
Spring, Jackson and Customization (e.g. CustomDeserializer) |
Spring/json: Convert a typed collection like List < MyPojo > |
Spring: @ModelAttribute VS @RequestBody |
Spring: namespace vs contextConfigLocation init parameters in web.xml |
Spring: The request sent by the client was syntactically incorrect () |
Spring3.2 and jboss as 7 |
Springs Element 'beans' cannot have character [children], because the type's content type is element-only |
Strange Jackson exception being thrown when serializing Hibernate object |
Struts2 vs Spring 3 |
Sun JSTL taglib declaration fails with ?Can not find the tag library descriptor? |
The difference between web.xml, beans.xml, applicationContext.xml, etc |
This application has no explicit mapping for /error |
Thymeleaf - custom attribute |
Thymeleaf templates - Is there a way to decorate a template instead of including a template fragment? |
Thymeleaf th:text - Put a text without removing HTML structures |
Thymeleaf, fragments and default parameters |
Thymleaf - Unsupported entity requested with PUBLICID ?null? |
Types of stereotype annotation? |
Unable to autowire the service inside my authentication filter in Spring |
Unable to complete the scan for annotations for web application [/app] due to a StackOverflowError |
Unit testing a method dependent to the request context |
Unit tests vs integration tests with Spring |
Unwanted comma-separated arguments to Spring controller method |
Use @RequestBody with optional body in latest Spring v4 |
using java configuration for n-factor authentication |
Using RestTemplate, how to send the request to a proxy first so I can use my junits with JMeter? |
Validate a list of nested objects with Spring validator? |
Validation error: ?No validator could be found for type: java.lang.Integer? |
velocity template and javascript |
ViewResolver using Java annotation |
What's the best way to make a modular java web application |
What's the difference between @Component, @Repository & @Service annotations in Spring? |
Writing Maven Dependency for javax.persistence |
Spring core |
|
Configure Spring Bean |
|
Auto Wiring |
|
Bean |
|
Session |
|
Controller |
|
Exception-handling |
|
Other |
|
ORM supported by spring |
|
19 November 2023
18 November 2023
15 November 2023
14 November 2023
13 November 2023
Subscribe to:
Posts (Atom)
Most views on this month
-
Docker Question count - 0 Last updated - V2 (19-Nov-2023) Interview question What is a Container? What does the docker i...
-
Apache Kafka Question count - 0 Last updated - V3 (21-Jun-2021) Interview question Define the role of Kafka Streams AP...
-
NodeJs Question count - 0 Last updated - V3 (17-Jun-2021) Interview question What is Node.js Process Model? What is...
-
It provides Relational Database service. It supports MySQL, MariaDB, PostgreSQL, Oracle, Microsoft SQL Server, and the new, MySQL-compatible...
-
Cloud9 is a cloud-based IDE that lets users write, run & debug their code with just a browser. It supports over 40 programming languages...
-
Data Exchange makes it easy for customers to securely exchange and use third-party data in AWS. It has a single, globally available product ...
-
CodeGuru is a fully managed service that helps proactively improve code quality and application performance with intelligent recommendations...
-
MongoDB Question count - 0 Last updated - V2 (22-Feb-2024) Interview question Define Collection? Define oplog(operationa...
-
Java 8 Question count - 0 Last updated - V3 (07-Mar-2023) Interview question What were the issues that were fixed with...