Java.lang.Interfaces

Java.lang.Interfaces

Introduction

The java.lang.Interfaces provides different interfaces used under java lang package.

Interface Summary

S.N.Interface & Description
1AppendableThis is an object to which char sequences and values can be appended
2CharSequenceThis is a CharSequence is a readable sequence of char values.
3CloneableThis 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.
4Comparable<T>This imposes a total ordering on the objects of each class that implements it.
5Iterable<T>Implementing this interface allows an object to be the target of the “foreach” statement.
6ReadableThis is a Readable is a source of characters.
7RunnableThis is the Runnable interface should be implemented by any class whose instances are intended to be executed by a thread.
8Thread.UncaughtExceptionHandlerThis is the Interface for handlers invoked when a Thread abruptly terminates due to an uncaught exception.

Was this article helpful?

Related Articles

Leave A Comment?

You must be logged in to post a comment.