Professional Documents
Culture Documents
Toaz - Info 305583707 Qspider Software Testing Full Notes PR
Toaz - Info 305583707 Qspider Software Testing Full Notes PR
Toaz - Info 305583707 Qspider Software Testing Full Notes PR
Core Java Consolidated Face to Face Interview Questions Class Syntax What are Keywords?
Class Syntax What are Identifiers?
Topics Questions Answers Class Syntax What is a Class?
Java Introduction Features of java Class Syntax What is the importance of main method in Java class?
Java Introduction How much you rate yourself in Core Java, In theory? In practical? Class Syntax What if main method is not present inside Java program?
Java Introduction What do you know about Java? Class Syntax What is meant by source file?
Java Introduction What is Java? Class Syntax In one source file how many classes can be declared?
Java components what is the difference between JVM JDK and JRE Class Syntax What if one source file is having 3 java classes in it? What happens after compilation?
Java components Difference between JVM , JRE , JIT? Class Syntax WAP to print your name
Java components JVM architecture Printing Statements what is meant by System.out.print
Java components What is JDK? Printing Statements What is System.in and System.out and System.err
Java components Why java is platform independent? Printing Statements What is System.out.println
Java components What are different types of class loaders? Class members What is the difference between static members and non-static members?
Java components What are the important features of Java 8 release? Class members Explain about static members in details
Java components What are the supported platforms by Java Programming Language? Class members Explain about non static members in details
Java components What gives Java its 'write once and run anywhere' nature? Class members How to access static members? Explain
Java components What is Class loader in Java? Class members How to access non-static members of class? Explain
Java components What is difference between path and class path variables? Class members What are the difference between static and non-static members of class
Java components What is the difference between JDK and JVM? Class members What are the features of Static and final members
Java components What is the difference between JVM and JRE? Class members Explain about java class members?
Java components Why Java is called the “Platform Independent Programming Language”? Class members explain about static keyword
Compilation which file is generated after compilation in C and C++ Variables - Global Explain about static and non-static variables
Compilation Which file is generated after compilation in Java Variables - Local explain about local variables
Compilation Is the compiled file from C C++ and Java are same Variables explain about Boolean variable and its declaration
Compilation Why we have to compile program Variables explain about global and local variables
Compilation Command to run java program? To create a directory? Variables - Global What is Member variables, how it is different from local variables
Compilation How to compile java program using command line? Variables - Global What is static variables? explain
Compilation Is java interpreted or compile time programming language? Variables - Global What is non-static variables or instance variables? explain
Compilation What is JIT compiler? Variables - Global Give example when to use static variables and non-static variables
Execution flow What is meant by source file? Variables What is primitive variables in java? how to declare it?
Execution flow What is meant by compilation? Variables What is non-primitive variables in Java? how to declare it?
Execution flow What is the difference between .java and .class file? Variables - Global Explain how many ways member variables can be initialized?
Execution flow What is the difference between source file and intermediate file? Variables What is a variable?
Execution flow When a .class file gets generated? Variables What are the different scopes for Java variables?
Execution flow Explain about compiler process? Variables - Global What is a Class Variable?
Execution flow Explain about JVM process? Variables - Global What is a Global Variable?
Execution flow What is the use of class Loader? Variables - Local What is a Local Variable?
Execution flow Explain about JIT? Variables What is a local, member and a class variable?
Prepared by: Gagan Dev – Gagandev9@gmail.com Mob: 9552502889 Prepared by: Gagan Dev – Gagandev9@gmail.com Mob: 9552502889
Prepared by: Gagan Dev – Gagandev9@gmail.com Mob: 9552502889 Prepared by: Gagan Dev – Gagandev9@gmail.com Mob: 9552502889
QSpiders / JSpiders QSpiders / JSpiders
Main method What is the importance of main method in Java? which loop will you use when you have to execute this statement at least once. while,
Loops do while, for, no loop
Main method What is the return type of the main() method?
Loops what is the difference between do while and while loop
Main method Why is the main() method declared static?
Blocks I want to print "Hello" even before main() is executed. How will you achieve that?
Methods What is an overloaded method? Provide an example to explain it.
Blocks What is non-static block?
Methods what is method overloading can we overload static method
Blocks What is static block?
Methods what is the difference between method overloading and method overriding
Blocks What is the difference between static block and non-static block?
Methods what is the difference between static method and normal method
Blocks explain static blocks and non-static blocks
Methods What is method overloading? Explain
Blocks what is the use of Static and nonstatic block and when they are executed
Methods When to go for Method overloading? give real time examples
Constructor Can a constructor be made final?
Methods Can sub class overload the methods of super class?
Constructor explain about constructor
Methods What is benefit of method overloading?
Constructor what is constructor? Can constructor overloaded
Methods What is method overriding? Explain, give real time examples
Constructor why we use constructor and what is its syntax
Methods What is the benefit of method overriding?
Constructor what are constructor
Methods Which methods of super class can be overrided and which can't be overrided?
Constructor what is the return type of constructor
Methods Difference between final, finalise, finally
Constructor what default constructor Returns
Methods Overloading and overriding with inbuilt example?
Constructor what is constructor
Methods What is diff b.w method and function?
Constructor constructor is required for creation of object or not
Methods Can we declare a static variable inside a method?
Constructor what is the difference between method and constructor
Methods Explain the difference between overloading and overriding.
Constructor what is meant by constructor
Methods What are Native methods in Java?
Constructor What is constructors? why it is required?
Methods What are the differences between Class Methods and Instance Methods?
Constructor Does every class has constructor?
Methods What is overloading and overriding in java?
Constructor What is default constructor?
Methods What restrictions are placed on method overloading?
Constructor What is parameterized constructor?
Methods What restrictions are placed on method overriding?
Constructor What is user defined constructor?
Methods When will you define a method as static?
Constructor What is constructor Overloading? Explain its benefit
Scanner How to scan a char using scanner class?
Constructor Explain this() statement, explain why it is required?
Scanner How to scan using Buffer in java?
Constructor Does constructor has return type?
Scanner How to scan using scanner class?
Constructor Does constructor be static?
Operators explain about increment and decrement operator
Constructor Does constructor be inherited?
Operators explain about conditional operator
Constructor Can we declare constructor as private?
Operators What is the use of instanceof operator in java?
Constructor What is the access of default constructor?
Operators explain about operations on operators
Constructor Can we override Constructor of class?
Operators List operators supported by java
Constructor What is constructor calling or constructor Chaining?
Operators What is the use of „==‟ operator and .equals(arg) method
Constructor explain super() statement, explain why it is required?
Operators Why does Java not support operator overloading?
Constructor what is the difference between this() and super()
if you are designing a bank application and you have to restrict the user from
withdrawing the money of bank account when the balance is zero which technique you Constructor What is implicit constructor call and explicit constructor call?
Control Statement can use
Constructor When to go for explicit constructor call?
Loops
Prepared by: Gagan Dev – Gagandev9@gmail.com Mob: 9552502889 Prepared by: Gagan Dev – Gagandev9@gmail.com Mob: 9552502889
Prepared by: Gagan Dev – Gagandev9@gmail.com Mob: 9552502889 Prepared by: Gagan Dev – Gagandev9@gmail.com Mob: 9552502889
QSpiders / JSpiders QSpiders / JSpiders
Final Define a final class in java. Explain the purpose of final class. Encapsulation What is encapsulation?
Final How to define a constant variable in Java? Encapsulation What is java bean class? where it is used?
Final What is final class? Encapsulation What are java beans?
Final What is the purpose of declaring a variable as final? Encapsulation What is encapsulation?
Access Modifiers explain about access modifiers Encapsulation What is Encapsulation?
Access Modifiers What is the scope of access Specifiers - private, public, protected, world, default Encapsulation What is the primary benefit of Encapsulation?
Access Modifiers explain about access specifiers Singleton Class what is meant by singleton class what is the use
Access Modifiers what are access specifiers give real time example of access specifiers Singleton Class What is Singleton class? Where it is used?
Access Modifiers How to access general properties and how to access specialized properties? Singleton Class What is inner class? What are the types of inner class
Access Modifiers What is default access in class? Singleton Class What is singalton? Why do we need it? How do we design it?
Access Modifiers What are the access specifiers provided in java? Singleton Class What is the use of private constructor?
Access Modifiers What is the use of private member variables? Abstract class what is Abstract class
Access Modifiers What is the difference between package level and protected members? Abstract class what is the difference between method overriding and method overloading
Access Modifiers Difference between Access specifiers and accesses modifiers Abstract class real time example on Abstract class and Interface
Access Modifiers Why main in public? Abstract class what is the difference between Abstract class and Interface
Access Modifiers Can a class be declared as protected? Abstract class can you write abstract method in a normal class
Access Modifiers Can a class declared as private be accessed outside its package? Abstract class How to declare Abstract class and can you create object of Abstract class
Access Modifiers Can a top level class be private or protected? Abstract class what is concrete class
Access Modifiers Explain the types of access specifiers with example? Abstract class what is an Abstract class
Access Modifiers If a class is declared without any access modifiers, where may the class be accessed? Abstract class what is meant by Abstract class and why we make class as abstract
Access Modifiers If a variable is declared as private, where may the variable be accessed? Abstract class what is abstract method?
Access Modifiers What are access specifiers? What is the use? Abstract class What is Abstract class?explain its members
Package what are packages in Java Abstract class Can we create instance of Abstract class
Package What is package? How to declare it? Abstract class What the subclass should do if it extends from Abstract class
Package What is the use of import statement? Abstract class Can we define constructor in Abstract class?
Package What is static import statement? Abstract class How to access the instance members of Abstract class?
Package What is difference between import and include Abstract class Does Abstract class must have abstract method?
Package What is package? Why do we need? Abstract class Is Abstract class pure abstract body?
Package Which is the default package that get imported by default Abstract class What are the difference between Abstract class and Interface?
Package What is package? Abstract class Can an Abstract class be declared final?
Encapsulation what is meant by encapsulation Abstract class Can an Abstract class be defined without any abstract methods?
Encapsulation what is the difference between encapsulation and Abstraction Can an anonymous class be declared as implementing an Interface and extending a
Abstract class class?
Encapsulation explain about encapsulation
Abstract class Can you create an object of an Abstract class?
Encapsulation explain about encapsulation
Abstract class What are Abstract methods?
Encapsulation what is encapsulation
Abstract class What is an Abstract class and what is its purpose?
Encapsulation give real time example on encapsulation
Abstract class What is use of an abstract variable?
Encapsulation what is encapsulation
Abstract class What‟s the difference between 'Abstract' classes and 'Interfaces'?
Encapsulation what is encapsulation
Prepared by: Gagan Dev – Gagandev9@gmail.com Mob: 9552502889 Prepared by: Gagan Dev – Gagandev9@gmail.com Mob: 9552502889
Prepared by: Gagan Dev – Gagandev9@gmail.com Mob: 9552502889 Prepared by: Gagan Dev – Gagandev9@gmail.com Mob: 9552502889
QSpiders / JSpiders QSpiders / JSpiders
Abstraction What is an Abstraction? Can I import same package/class twice? Will the JVM load the package twice at
Java Library runtime?
Abstraction What is the difference between Abstraction and encapsulation?
Java Library Do I need to import java.lang package any time? Why?
Polymorphism What is the difference between method overloading and method overriding
Java Library Do I need to import java.lang package any time? Why?
Polymorphism What is the difference between compile time and run time Polymorphism ?
Java Library What is static import?
Polymorphism what is Polymorphism
Java Library What is the Collections API?
Polymorphism explain about Polymorphism and its types
Java Library Will the JVM load the package twice at runtime?
Polymorphism explain about Polymorphism
Object class Explain about object class
Polymorphism what is Polymorphism explain its types
Object class explain about object class
Polymorphism What is Polymorphism? Explain its types
Object Class What are the members of Object class?
Polymorphism What is runtime Polymorphism? how to achieve it?
Object Class Explain toString(), hashCode() and equals() method of Object class
Polymorphism What is the uses of ploymorphism?
Object Class Why we need to override toString()?
Polymorphism What is Polymorphism
Object Class Why we need to override hashCode() and equals();
Polymorphism What is rutime and compile time Polymorphism?
Object Class List methods of Object class
Polymorphism Which is compile time and which is run time Polymorphism
Object Class Methods of object class? String class?
Polymorphism Explain the different forms of Polymorphism.
Object Class What is the base class of all classes?
Polymorphism How can we implement Polymorphism in Java?
Object Class What is the use of toString()?
Polymorphism What is Polymorphism?
Garbage Collection What is Garbage collection? explain?
Polymorphism What is runtime Polymorphism or dynamic method dispatch?
Garbage Collection What is the use of finalize(), in which class it is present?
Polymorphism Which object oriented Concept is achieved by using overloading and overriding?
Garbage Collection What is Garbage Collector?
Keyword Explain the use of „super‟ keyword by giving an example.
Garbage Collection explain about garbage collector
Keyword Is delete, next, main, exit or null keyword in java?
Garbage Collection How can the Garbage Collection be requested?
Keyword List some Java keywords (unlike C, C++ keywords)?
Garbage Collection How many times does the garbage collector call the finalize() method for an object?
Keyword What is the use if “instanceof” keyword?
Garbage Collection How many times does the garbage collector calls the finalize() method for an object?
Keyword When throw keyword is used?
Garbage Collection If an object is garbage collected, can it become reachable again?
Keyword When throws keyword is used?
If an object reference is set to null, will the Garbage Collector immediately free the
Keywords explain about Java keywords Garbage Collection memory?
Keywords explain about super keyword Garbage Collection Is garbage collector a daemon thread?
Keywords what is the difference between this and super keyword Garbage Collection What does System.gc() and Runtime.gc() methods do?
Keywords what is the difference between extends and implements keyword Garbage Collection What is responsibility of Garbage Collector?
Keywords Explain this keyword, what it contains and how it is useful Garbage Collection What is the purpose of garbage collection in Java, and when is it used?
Keywords Explain super keyword, what is the use of it? Garbage Collection When an Object does becomes eligible for Garbage collection in Java?
Keywords What is the difference between super and this keyword Garbage Collection When is the finalize() called? What is the purpose of finalization?
Keywords abstract keyword can't be combined with which keywords, why? Array WAP to sort the array elements
Keywords explain about static keyword usage Array WAP on array
Keywords What is this n super in java Array pick the prime numbers from given array
Keywords What is this? Array what is an array
Keywords Why main is static? Array what is an array which array will you use to print matrix
Java Library Can I import same package/class twice? Array What are classtype arrays?
Prepared by: Gagan Dev – Gagandev9@gmail.com Mob: 9552502889 Prepared by: Gagan Dev – Gagandev9@gmail.com Mob: 9552502889
Prepared by: Gagan Dev – Gagandev9@gmail.com Mob: 9552502889 Prepared by: Gagan Dev – Gagandev9@gmail.com Mob: 9552502889
QSpiders / JSpiders QSpiders / JSpiders
Exception Handling If I write System.exit(0); at the end of the try block, will the finally block still execute? Thread Explain how to overcome thread deadlock?
Exception Handling Is it necessary that each try block must be followed by a catch block? Thread Explain what is interthread communication and how to achieve it?
Exception Handling Is it necessary that each try block must be followed by a catch block? Thread Explain wait() and wait(time) methods? where is the implementation of it?
Exception Handling What are the different ways to handle exceptions? Thread Explain notify() and notifyAll() methods?where is the implementation of it?
What are the two types of Exceptions in Java? Which are the differences between Thread What is thread synchronization?
Exception Handling them?
Thread What is the difference between user thread and deamon thread?
Exception Handling What do you mean by Checked Exceptions?
Thread How to pause execution of current thread?
Exception Handling What is an Exception?
Thread What are the difference between wait() and sleep()?
Exception Handling What is multi-catch block in java?
Thread What is thread deadlock? how to avoid deadlock situation
Exception Handling What is NullPointerException?
Thread What are different states of in life cycle of a thread?
Exception Handling What is the difference between Exception and Error in java?
Thread when we use multithreading instead of single threading
Exception Handling What is the difference between throw and throws?
Thread what is the use of thread.sleep ()
Exception Handling What is the importance of finally block in exception handling?
Thread what is the use of wait method
Exception Handling What is try-with-resources in java?
Thread explain about thread creation by all method
Exception Handling What things should be kept in mind while creating your own exceptions in Java?
Thread what is the use of kernel in OS
Exception Handling What will happen to the Exception object after exception handling?
Thread what is multithreading
Exception Handling When ArithmeticException is thrown?
Thread when deadlock is occurred and WAP for deadlock
Exception Handling Which are the two subclasses under Exception class?
Thread explain about thread
Exception Handling Which arithmetic operations can result in the throwing of an ArithmeticException?
Thread explain about thread
Thread by how many ways we can create thread
Thread what is thread life cycle
Thread what is an thread
Thread Architecture of thread?
Thread what is meant by deadlock
Thread Difference between notify() and notifyAll()?
Thread What is a Thread?
Thread Difference between wait() and sleep()?
Thread Explain Thread properties
Thread What is notify(), notifyall(), wait(), sleep()?
Thread How to create a thread and start the thread
Thread What is thread and why we need it?
Thread Explain thread started by JVM
Thread Describe life cycle of thread?
Thread What is the difference between start() and run()
Thread Describe synchronization in respect to multithreading.
Thread Explain methods provide by the thread to use thread properties
Thread Explain different way of using thread?
Thread What is Thread priority? what are the range and what is default priorty
Thread Explain isAlive() method under Thread class?
Thread Explain the constructors of Thread
Thread Explain main thread under Thread class execution?
Thread What is Runnable Interface?
Thread Explain suspend() method under Thread class>
Thread How to make Runnable type object to run as a thread in JVM
Thread How can a dead thread be restarted?
Thread Explain join() method of thread class?
Thread How does multi-threading take place on a computer with a single CPU?
Thread What is Thread Safe? how to achieve?
Thread What are synchronized methods and synchronized statements?
Thread What is object lock? when it get created?
Thread What are the two ways in which Thread can be created?
Thread Waht is class lock ? when it get created?
Thread What are the ways in which a thread can enter the waiting state?
Thread How to get reference to current running thread?
Thread What do you mean by multithreaded program?
Thread What is thread deadlock?
Thread What do you mean by synchronized Non Access Modifier?
Prepared by: Gagan Dev – Gagandev9@gmail.com Mob: 9552502889 Prepared by: Gagan Dev – Gagandev9@gmail.com Mob: 9552502889
Prepared by: Gagan Dev – Gagandev9@gmail.com Mob: 9552502889 Prepared by: Gagan Dev – Gagandev9@gmail.com Mob: 9552502889
QSpiders / JSpiders QSpiders / JSpiders
Collection What is difference between hashmap and treemap File Handling What is Object Serialization?
Collection What is difference between listIterator and iterator File Handling What is Object de-serialization?
Collection what is entryset File Handling What is transient keyword in java?
Collection What is enumeration? File Handling What is deserialization?
Collection What is peek and pole File Handling What is serialization?
Collection What is the difference between ArrayList and LinkedList File Handling What is transient? Virtual functions?
Collection What is the difference between ArrayList and vector How can I customize the serialization process? I.e. how can one have a control over
File Handling the serialization process?
Collection What is the difference between HashSet and linked HashSet
File Handling How do I serialize an object to a file?
Collection What is the difference between list and set
File Handling What happens to the static fields of a class during serialization
Collection Write a hierarchy of map
File Handling What is Serialization and Deserialization?
Collection Write a structure or hierarchy of collection
File Handling What is serialization?
Collection Can a vector contain heterogeneous objects?
File Handling What is synchronization and why is it important?
Collection Difference between Vector and ArrayList?
File Handling What is the common usage of serialization?
Collection Explain ArrayList with example.
What is the difference between the Reader/Writer class hierarchy and the
Collection Explain Collection hierarchy. File Handling InputStream/OutputStream class hierarchy?
Collection Explain HashSet with example. File Handling What is the purpose of File class?
Collection Explain LinkedHashSet with example. File Handling What is transient variable?
Collection Explain LinkedList with example. File Handling What one should take care of while serializing the object?
Collection Explain List Interface? File Handling What value does read() return when it has reached the end of a file?
Collection Explain Set Interface? When you serialize an object, what happens to the object references included in the
File Handling object?
Collection Explain the need of Collection?
File Handling Which methods of Serializable Interface should I implement?
Collection Explain TreeSet with example.
Wrapper Class what are wrapper class
Collection Explain Vector with example.
Wrapper Class what is the difference between int and integer
Collection How do you decide when to use ArrayList and LinkedList?
Wrapper Class What is wrapper class
Collection What are the advantages of ArrayList over arrays?
Wrapper Class What is wrapper class?
Collection What is an Iterator?
Wrapper Class What are Wrapper classes?
Collection What is the difference between collection and collections?
Wrapper Class What is meant by Auto Boxing and Auto Unboxing?
Collection What is the difference between Homogeneous and Heterogeneous?
Wrapper Class What is meant by Parsing?
Collection What is the difference between the size and capacity of a Vector?
Wrapper Class What is the use of parseInt(arg) method?
Collection Why deletion in LinkedList is fast than ArrayList?
Wrapper Class Why do we need wrapper classes?
Collection Why Vector class is used?
Collection explain about collections
Array and
Collection what is the difference between array and collection
Array and
Collection what is the difference between array and ArrayList
Array and
Collection difference between array and ArrayList
File Handling explain about file handling operations
Prepared by: Gagan Dev – Gagandev9@gmail.com Mob: 9552502889 Prepared by: Gagan Dev – Gagandev9@gmail.com Mob: 9552502889