Interview Questions

JDBC Interview Questions and Answers

JDBC Interview Questions. 1.What is web application? An application which is running in the web and provides dynamic response to multiple end users simultaneously is called web application. 2.What is client-server architecture? The architecture which is useful for developing applications to sending the request and getting dynamic response is called client-server architecture. We can also call as request and response architecture. 3.Is java technology? Yes. Java provides rules or specifications to third party organizations in the form of interfaces by using abstract methods. Ex: JDBC is [...]

Read more...

Java Interview Questions and Answers

What is Collection API ? The Collection API is a set of classes and interfaces that support operation on collections of objects. These classes and interfaces are more flexible, more powerful, and more regular than the vectors, arrays, and hashtables if effectively replaces. Example of classes: HashSet, HashMap, ArrayList, LinkedList, TreeSet and TreeMap. Example of interfaces: Collection, Set, List and Map. Is Iterator a Class or Interface? What is its use? Iterator is an interface which is used to step through the elements of [...]

Read more...

Java Interview Questions

What is Java? Java is a distributed application software Java is the high-level, object-oriented programming Java is API Document. What are differences between C, C++ and Java? Why java or What are the features in JAVA? Features of Java: Oops concepts Class object Inheritance Encapsulation Polymorphism Abstraction Platform independent: Java is System independent as well as Platform independent because it works with diff System hw as well as Diff Platforms(diff operating Systems) High Performance: JIT (Just In Time compiler) enables high performance in Java. JIT converts the bytecode into machine language and then JVM starts the Multi-threaded: [...]

Read more...

JavaScript Interview Questions

JavaScript Interview Questions and Answers 1) What is JavaScript? Answer: JavaScript is a scripting language. It is different from Java language. It is object-based, lightweight and cross platform. It is widely used for client side validation. 2) What is the difference between JavaScript and jscript? Answer: Netscape provided the JavaScript language. Microsoft modified the name and called it JScript to avoid the trademark issue. In another words, you can say JScript is same as JavaScript, but it is provided by Microsoft. 3) How to write a [...]

Read more...

HTML Interview Questions

HTML Interview Questions 1) What is HTML? Answer: It stands for Hyper Text Markup Language. It is a language of World Wide Web. It is a standard text information language that is employed to form and show pages on the Web page. 2) What are Tags? Answer:  HTML tags are composed of only three things: opening tag, content and ending tag. Some tags are unclosed tags. HTML documents are made of two things; they are content, and tags Content is placed between tags to shows data [...]

Read more...

Core Java Interveiw Questions and Answers

1) What is Java? Java is a simple, high-level, secure, platform-independent, multithreaded, and object oriented programming language. It was developed by James Gosling in June 1991. It can also be known as the platform as it provides its own runtime environment as JRE and API. 2) What is the difference between JDK, JRE, and JVM? JVM JVM is an acronym for Java Virtual Machine; it is an abstract machine which provides the runtime environment in which Java byte code can be executed. It [...]

Read more...

Top Core Java Interview Questions

Core Java Interview Questions 1. Can we write static block within the method? Answer: No. Compiler will give error. public class Test{ public static void main(String[] args) { static{ } } } Compiletime Error: Illegal start of expression. 2. Can we write return statement without value in constructors? Answer: Yes. public class Test{         Test(){                 return;         }         public static void main(String[] args) {                 {                         System.out.println(“non static block”);                 }         } } 3.What is the difference between static and new keyword? Answer:  New keyword is useful for providing memory for non-static data, it is individual, where as static keyword is [...]

Read more...