1/7
Flashcards covering core Java concepts from the Class 12 IT sample paper notes, including Exception Handling, Multithreading, and Wrapper Classes.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
Exception
A disruptive occurrence that takes place at run time, or during the execution of a programme, which interrupts the regular flow of the program's instructions.
Examples of Java Runtime Exceptions
Runtime issues such as ClassNotFoundException, IOException, SQLException, and RemoteException.
try Keyword
A Java keyword used to surround the part of the code that can generate exception(s).
catch Keyword
A Java keyword used to define blocks following a try block that contain exception handler code executed when an exception occurs.
Multithreaded Programme
A programme made up of two or more threads, each capable of carrying out a particular task independently and concurrently to execute numerous tasks simultaneously for optimal resource utilization.
Ways to Create Threads in Java
Wrapper Classes
Java classes that encapsulate primitive datatypes (like int and float) in an object, enabling them to be passed by reference rather than by value.
Integer Wrapper Class
A Java wrapper class used to hold an int variable in an object.