KUNGFU TECH vietnam
6304 câu hỏi phỏng vấn Full-Stack, Coding & System Design Interview
Bộ lọc:
What are the two types of Exceptions in Java? Which are the differences between them?
What is the difference between JDK and JRE?
What is JVM? Why is Java called the "Platform Independent Programming Language"?
What is the difference between an Applet and a Java Application?
What is a Servlet?
Explain what is Binary Search?
How HashMap works in Java?
What will happen to the Exception object after exception handling?
What is the purpose of Garbage Collection in Java, and when is it used?
What are Expressions?
What is an Java Applet?
What is reflection and why is it useful?
What do you know about the Big-O notation and can you give some examples with respect to different data structures?
What are Directives?
What’s the difference between sendRedirect and forward methods?
What are JSP Actions?
Explain the architechure of a Servlet
What does System.gc() and Runtime.gc() methods do?
What differences exist between HashMap and Hashtable ?
What are Decalarations?
What is the difference between processes and threads?
What is the difference between an Interface and an Abstract class?
What is the design pattern that Java uses for all Swing components?
How does Garbage Collection prevent a Java application from going out of memory?
What is an Iterator?
What is Function Overriding and Overloading in Java?
What is JDBC?
What is JVM?
What is the difference between Exception and Error in Java?
What does the static keyword mean? Can you override private or static method in Java?
What are the basic interfaces of Java Collections Framework?
What are pass by reference and pass by value?
How are the JSP requests handled?
What are the Data Types supported by Java? What is Autoboxing and Unboxing?
When does an Object becomes eligible for Garbage Collection in Java ?
What is the importance of finally block in exception handling?
What is the purpose Class.forName method?
Explain Serialization and Deserialization.
What is a Constructor, Constructor Overloading and Copy-Constructor in Java ?
When is the finalize() called? What is the purpose of finalization?
What’s the difference between Enumeration and Iterator interfaces?
What’s a deadlock?
Explain the role of Driver in JDBC.
What is the relationship between an event-listener interface and an event-adapter class?
What is a Server Side Include (SSI)?
What is the JIT in Java?
Is Java pass-by-reference or pass-by-value?
Explain different ways of creating a thread. Which one would you prefer and why?
What is Comparable and Comparator interface? List their differences.
Can you access non static variable in static context?
What is difference between Array and ArrayList ? When will you use Array over ArrayList ?
What is the advantage of PreparedStatement over Statement ?
Is there anything like static class in Java?
What is the Java Classloader?
How threadsafe is enum in Java?
What's the advantage of using getters and setters?
Explain the life cycle of an Applet.
What is the difference between an Applet and a Servlet?
What is the difference between doGet() and doPost() ?
What are the differences between '==' and equals in java?
What is a JavaBean exactly?
What do the ... dots in the method parameters mean in java?
What is the tradeoff between using an unordered array versus an ordered array?
What is structure of Java Heap ?
What are the steps involved to make work a RMI program?
How and where are Annotations used in Java?
Does Java support multiple inheritance?
What is the importance of hashCode() and equals() methods?
What is the difference between GenericServlet and HttpServlet ?
What is static initializer in java?
What is the difference between HashMap , LinkedHashMap and TreeMap in Java?
What is the main difference between StringBuffer and StringBuilder ?
What’s the difference between a ClassNotFoundException and NoClassDefFoundError ?
Why Collection doesn’t extend Cloneable and Serializable interfaces?
Which Swing methods are thread-safe?
How does finally block differ from finalize() method?
What is Java Priority Queue?
What happens when an Applet is loaded?
What differences exist between Iterator and ListIterator ?
What are the advantages of JSP?
Explain the life cycle of a Servlet
Compare the sleep() and wait() methods in Java
Can == be used on enum in Java ?
What is the applet security manager, and what does it provide?
What is difference between fail-fast and fail-safe?
What is the difference between throw and throws ?
What are the restrictions imposed on Java applets?
What is difference between ArrayList and LinkedList ?
If an object reference is set to null , will the Garbage Collector immediately free the memory held by that object?
What are Scriptlets in Java?
What is the difference between public , protected , package-private and private in Java?
Can an enum be extended?
How do I break out of nested loops in Java?
What are untrusted applets?
What is the role of stub in RMI?
What is meant by JSP implicit objects and what are they?
What is the volatile keyword useful for?
Why does Java have transient fields?
What is the difference between final , finalize and finally in java?
How do you ensure that N threads can access N resources without deadlock?
What is the role of Remote Interface in RMI?
Why is Spring MVC better than Servlets / JSP ?
What is Double Brace initialization in Java?
What are some of the best practices relating to the Java Collection Framework?
Explain a use case for the Builder Design Pattern
What are the differences between a HashMap and a HashTable in Java?
What is the difference between a synchronized method and a synchronized block?
What is the difference between Applets loaded over the internet and Applets loaded via the file system?
Explain Marshalling and Demarshalling
Explain the available thread states in a high-level.
What is the applet class loader, and what does it provide?
What is the basic principle of RMI architecture?
What is the role of the java.rmi.Naming Class?
How do you find out what client machine is making a request to your servlet?
What is Servlet Chaining?
What does Connection Pooling mean?
What is the main difference between an inner class and a static nested class in Java?
Are there any differences between Protocol in Swift vs Interface in Java?
What is RMI in Java?
What exactly is marker interface in Java?
When to use LinkedList over ArrayList in Java?
What is the purpose of using RMISecurityManager in RMI?
Explain Boyer-Moore Algorithm with Example in java
What is Perm Gen space in Heap ?
What is the difference between Serial and Throughput Garbage collector?
Does Java support default parameter values?
What is meant by binding in RMI?
What's wrong with Double Brace Initialization in Java?
How does thread synchronization occurs inside a monitor ? What levels of synchronization can you apply?
What is the difference between HashSet and TreeSet ?
What is DGC? And how does it work?
What is an efficient way to implement a singleton pattern in Java?
What does synchronized mean?
Why ArrayList are preferable in many more use-cases than LinkedList ?
Why isn’t String‘s length() accurate?
Does Garbage collection occur in permanent generation space in JVM?
Provide some examples when a finally block won't be executed in Java?
What are the layers of RMI Architecture?
Compare volatile vs static variables in Java
What's the difference between SoftReference and WeakReference in Java?