Write the differences between hasNext() and next() method.
What is map? List any two Map interface.
Write any two uses of Generics.
List any four exceptions thrown in the context of collections
What is the usage of containsAll() and retainAll() methods?
List any four interfaces provided by Collection Framework.
Write the any two differences between StringBuffer and StringBuilder class
Differentiate poll() and remove() methods of Queue interface.
Write the purpose of + operator in string handling with an example
Provide the syntax and an example for the charAt() method to extract characters from a
string.
Write the purpose and syntax of the regionMatches() method in string handling
Demonstrate the usage of the startsWith() and endsWith() methods in string handling.
What's the difference between equals() and == ?
List any five methods of Collection interface with its purpose.
List any five methods of Queue interface with its purpose.
Explain any four methods defined by NavigableSet interface
List any five methods of DQueue interface with its purpose.
Write a Java program that demonstrates the usage of the LinkedList class from the Java
Collections Framework
With an example explain the usage of ArrayList
With syntax and example explain the following String class methods
getChars() replace()
With syntax and example explain the following StringBuffer class methods
insert(). deleteCharAt()
With syntax and example explain the following StringBuffer class methods
substring(). lastIndexOf()
Explain how to concatenate string with other data types?
Explain character extraction methods of String class with an example
Explain any four string comparison methods with an example
With an example explain the six methods of StringBuffer class
Describe two common approaches for modifying Strings in Java with an example