0% found this document useful (0 votes)
3 views

java assingment topics

Uploaded by

Ritik Sharma
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

java assingment topics

Uploaded by

Ritik Sharma
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

JAVA Programing Assignment And Presentation Topic’s

Group Assignment Topic_1 Assignment Topic-2 Presentation


topic
08-cse-2022  What is exception handling in Java,Why  What is multithreading, and why is it Write a Java
34-cse-2022 is it important for program reliability? used in Java applications? program to
43-cse-2022  Explain the difference between byte  What is an applet in Java, and how demonstrate
44-cse-2022 streams and character streams. Provide does it differ from a regular Java the usage of
17-cse-2022 examples of when each type would be application? constructor
used?  What is an Iterator in Java, and how overloading.
 What is the Java Collections is it used to access elements in a
Framework, and why is it important in Collection?
Java programming?
03-cse-2022  Explain the difference between checked  Explain the difference between Write a Java
33-cse-2022 and unchecked exceptions with Thread and Runnable interfaces. program to
26-cse-2022 examples? How do you create a thread using demonstrate
37-cse-2022  What are stream classes in Java, and each of them? the usage of
how do they facilitate I/O operations?  Explain the basic architecture of an Method
 Explain the difference between a applet and its lifecycle methods Overloading and
Collection and Collections in Java? (init, start, stop, and destroy)? Overriding.
 How does the forEach loop work,
and how does it differ from using an
Iterator?
 Describe the try-catch block structure  Describe how you would create
09-cse-2022 in Java. How does it help in handling multiple threads in Java and how Write a Java
15-cse-2022 exceptions? they execute concurrently? program to
22-cse-2022  Describe how to read console input in  Describe the process of creating and demonstrate
31-cse-2022 Java using the Scanner and running an applet in Java? the usage of
BufferedReader classes?  What is the purpose of the packages.
 What are the main benefits of using the ListIterator, and how does it
Collections Framework? differ from a regular Iterator?

 What is the role of the finally block,Can  What is thread priority in Java? How
a finally block execute even if an can you set and get the priority of a Write a Java
14-cse-2022 exception is not thrown? thread? program to
16-cse-2022  What is the PrintWriter class, and how  What is the AppletContext class, demonstrate the
41-cse-2022 does it differ from other output How can it be used to interact with usage of
streams in Java, Provide an example of other applets in the same webpage? inheritance.
its usage?  Explain the purpose of the Map
 List the main interfaces in the Java interface and how it differs from the
Collections Framework and briefly Collection interface.?
explain their purposes.?

 Discuss the use of multiple catch  Explain synchronization in Java. Why


13-cse-2022 clauses in Java. How does Java decide is it necessary in a multithreaded Write a Java
19-cse-2022 which catch clause to execute when environment? program to
35-cse-2022 multiple are present?  What are some security restrictions demonstrate
38-cse-2022  Explain the concept of serialization in applied to applets running in a web the usage of
Java. How does it enable object browser.? interfaces.
persistence?  Describe the differences between
 What is the difference between the HashMap, TreeMap, and
List, Set, and Queue interfaces? LinkedHashMap.?
JAVA Programing Assignment And Presentation Topic’s

 What is a nested try block? Give an  Describe the use of the


01-cse-2022 example of when you might use a synchronized keyword with Write a
23-cse-2022 nested try block.? methods and code blocks. How does program to
30-cse-2022  What is the purpose of the transient it affect thread access? demonstrate
40-cse-2022 keyword? How does it affect  What are the key differences exception
serialization? between String, StringBuffer, and handling
 Describe the characteristics of the Set StringBuilder in Java?
interface and name some classes that  What are some examples of legacy
implement it.? classes in Java Collections, and why
are they considered outdated?
 Explain the throw keyword in Java with  What is inter-thread
07-cse-2022 an example. How is it different from communication? Describe the Write a
20-cse-2022 throws? wait(), notify(), and notifyAll() program to
24-cse-2022  Discuss the volatile modifier in Java. methods with examples.? demonstrate
29-cse-2022 How is it different from transient?  Explain how strings are immutable Applet in java.
 How does the Queue interface work, in Java. Why is immutability
and what are its main applications? important in string handling?
 What is the difference between the
Arrays.sort() method and
Collections.sort()?
 What is the purpose of the throws  Define deadlock in the context of
02-cse-2022 keyword in method declarations? How multithreading. Provide an example Write a
05-cse-2022 is it used in exception handling? of how deadlock might occur and program to
46-cse-2022  How would you write to a file and read how to avoid it.? demonstrate the
47-cse-2022 from a file in Java? Give an example of  Describe how you can concatenate concept of
each.? strings in Java. Discuss the single thread
 What is the purpose of the ArrayList performance implications of creation and
class, and how does it differ from concatenation with String, multithread
LinkedList? StringBuffer, and StringBuilder.? creation, inter
 Describe how the Arrays class is thread
used to manipulate arrays in Java? communication

 How can custom exceptions be created  What are the methods used to
10-cse-2022 in Java? Provide an example.? suspend, resume, and stop a Write a Java
11-cse-2022  What is the significance of the thread? Why are these methods program to
12-cse-2022 instanceof keyword? Provide an generally discouraged in modern demonstrate
32-cse-2022 example to demonstrate its usage.? Java? the usage of
 Describe the HashSet class and explain  What is the StringTokenizer class String Classes
how it handles duplicate elements.? used for? Provide an example of in java.
how it tokenizes a sentence.?
 Write an example of a custom
comparator that sorts a list of
String objects in reverse
alphabetical order?
21-cse-2022  Explain the importance of handling  Explain the difference between a
27-cse-2022 exceptions in a multithreaded daemon thread and a user thread. Write a
48-cse-2022 environment. What issues might arise if How do you make a thread a program to
exceptions are not managed correctly in daemon thread in Java? demonstrate the
threads?  Explain the various constructors concept of
 Explain the strictfp modifier. In what available in the String class. How do Several
situations would you use strictfp in they help in creating strings from Collection
Java?
JAVA Programing Assignment And Presentation Topic’s

 Explain the difference between different sources? Classes of Java.


TreeSet and HashSet.?  What is the purpose of the
Comparator interface, and how
does it differ from the Comparable
interface?

You might also like