-----This is a project for learning the basic java programming knowledge & Interview questions Practices------
# | Title | Link |
---|---|---|
2 | Java Access Modifiers, Java Non-Access Modifiers | Java |
3 | Overriding vs Overloading | Java |
4 | Compare class objects | Java |
5 | == & equals() | Java |
6 | Collections(List, Set, Map, Stack, Queue) | Java |
7 | OOP(Object, Class, Encapsulation, Abstraction, Inheritance, Polymorphysm) | Java |
8 | String, StringBuffer, StringBuilder | Java |
9 | Exception Handling | Java |
10 | Multithreading | Java |
11 | I/O | Java |
12 | Networking | Java |
13 | Reflection | Java |
Interview questions
# | Non-Access Modifiers Questions | Link |
---|---|---|
1 | why do we need to use static? | Java |
2 | what is an abstract variable and why do you use it? | Java |
3 | Java |
# | Collections Questions | Link |
---|---|---|
1 | What is the difference between an array and a collection? | Java |
2 | What are the different types of collections in Java and when would you use each one? | Java |
3 | How would you sort a collection in Java? | Java |
4 | Can you explain the difference between the List, Set, and Map interfaces in Java? | Java |
5 | What is the difference between the ArrayList and LinkedList classes in Java? | Java |
6 | Can you explain how hashcode and equals methods are used in collections? | Java |
7 | How would you implement your own custom collection class in Java? | Java |
8 | What is the difference between the Iterator and ListIterator interfaces in Java? | Java |
9 | How would you remove an element from a collection while iterating over it in Java? | Java |
10 | Can you explain the ConcurrentModificationException and how to avoid it in Java? | Java |
# | Title | Link |
---|---|---|
1 | Java SE, JVM, JRE, Apache Tomcat, JSP, Servlets | Java |
2 | Java EE | Java |
XML (eXtensible Markup Language) is a markup language that is used to store and transport data. Besides being used to define the layout of a user interface as in the case of a fragment layout in Android, XML can be used for various other purposes including:
Data storage and exchange: XML is widely used to store and exchange data between different applications and systems.
Configuration files: XML can be used to define the configuration of applications and systems.
Document format: XML can be used to define the structure and format of documents such as Office documents or e-books.
Web services: XML is used as a data format in many web services such as SOAP and REST.
Data validation: XML can be used to validate the structure and content of data to ensure its validity.