[ Web Proxy ]
URL:
Viewing: https://www.tutorialspoint.com/java/lang/java_lang_interfaces.htm [Back]  [Original]

Java.lang.Interfaces
Tutorials Courses Jobs Login
Home Java/lang Java.lang.Interfaces

Java.lang.Interfaces



Introduction

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

Interface Summary

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<T>

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

5

Iterable<T>

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.

Tutorix - AI Tutor [Tutorix - AI Tutor]
Print Page
Advertisements

Web Proxy Viewer  |  New URL  |  Original Page