📜  Java.lang.Interfaces

📅  最后修改于: 2020-11-15 03:11:01             🧑  作者: Mango


介绍

java.lang.Interfaces提供了在Java lang包下使用的不同接口。

界面摘要

Sr.No. Interface & Description
1

Appendable

This is an object to which char sequences and values can be appended

2

CharSequence

This is a CharSequence is a readable sequence of char values.

3

Cloneable

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.

4

Comparable

This imposes a total ordering on the objects of each class that implements it.

5

Iterable

Implementing this interface allows an object to be the target of the “foreach” statement.

6

Readable

This is a Readable is a source of characters.

7

Runnable

This is the Runnable interface should be implemented by any class whose instances are intended to be executed by a thread.

8

Thread.UncaughtExceptionHandler

This is the Interface for handlers invoked when a Thread abruptly terminates due to an uncaught exception.