InputStream vs OutputStream

inputStreamvsoutputstream

For each type of source and destination in java.io package oracle given a separate class. InputStream Class: ByteArrayInputStream FileInputStream FilterInputStream BufferedInputStream DataInputStream LineNumberInputStream PushbackInputStream ObjectInputStream PipeInputStream SequenceInputStream StringBufferInputStream... read more ?

Multiply two matrices

(adsbygoogle = window.adsbygoogle || []).push({}); package com.instanceofjava;   import java.util.Scanner;   class Multiply2Matrices{      public static void main(String args[])    {         int m, n, p,... read more ?

add two matrices

package com.instanceofjava;   import java.util.Scanner;   class Add2Matrix {      public static void main(String args[])    {         int rows, cols, c, d;         Scanner... read more ?

IO Streams

JavaStreams

The basic idea of  IOStreams is Storing and reading data from files reading data from keyword First let us understand some basic terminology. Persistent media: The environment that... read more ?

Programing Inrerview Questions on try catch

1. what is the output of following program: package com.instanceofjavaforus;   public class Demo{    public static void main(String[] args) {        try{       System.out.println("instance of... read more ?

String programing interview questions

1. what is the output of following program: package com.instanceofjavaforus;   public class StringDemo{    public static void main(String[] args) {         String str="I love java";... read more ?

Select Menu