Java.lang.Interfaces.pdf

(90 KB) Pobierz
15.09.2018
Java.lang.Interfaces
Java.lang.Interfaces
Advertisements
Previous Page
Next Page
 
Introduction
The
java.lang.Interfaces
provides different interfaces used under java lang package.
Interface Summary
Sr.No.
Interface & Description
Appendable
1
This is an object to which char sequences and values can be appended
CharSequence
2
This is a CharSequence is a readable sequence of char values.
Cloneable
3
This is a class implements the Cloneable interface to indicate to the Object.clone() method that it is legal for that method to make a field-for-field
copy of instances of that class.
Comparable<T>
4
This imposes a total ordering on the objects of each class that implements it.
Iterable<T>
5
Implementing this interface allows an object to be the target of the "foreach" statement.
Readable
6
This is a Readable is a source of characters.
Runnable
7
This is the Runnable interface should be implemented by any class whose instances are intended to be executed by a thread.
Thread.UncaughtExceptionHandler
8
This is the Interface for handlers invoked when a Thread abruptly terminates due to an uncaught exception.
Previous Page
Next Page
 
https://www.tutorialspoint.com/java/lang/java_lang_interfaces.htm
1/2
15.09.2018
Java.lang.Interfaces
FAQ's
Cookies Policy
Contact
© Copyright 2018. All Rights Reserved.
Enter email for newsletter
go
https://www.tutorialspoint.com/java/lang/java_lang_interfaces.htm
2/2
Zgłoś jeśli naruszono regulamin