Blogger

Delete comment from: Javarevisited

Anonymous said...

@Chandan, one example of Abstraction is instead of reading from a file you read from a Reader or InputStream, by doing that you can create classes like java.util.Stream which can create a Stream out of a Reader and that's what lines() method does in Java 8.

Oct 18, 2015, 6:16:36 AM


Posted to What is Abstraction in Java? Abstract Class and Interface Example

Google apps
Main menu