• Extends Thread Class: Thread Programming

    In this blog, we will see child process B and main process Thread4. Process B extends Thread class. Thread4 is main process controls the child process B. Work of both Processes Child Process B: Display 1 to 10 in 10 seconds. Main Process Thread4: Display 1 to 10 20 seconds.   Location: Child Process B: […]

  • Implements Runnable Interface: Thread Programming

    In this blog, we will see child process A and main process Thread3. Process A implements runnable interface. Thread3 is main process controls the child process A. Work of both Processes Child Process A: Display 1 to 10 in 10 seconds. Main Process Thread3: Display 1 to 10 20 seconds.   Location: Child Process A: […]

  • String Handling: Introduction

    In this blog, we will see introduction about String Handling process, currently we will just see how store value in String object. For that, we use object passing, character array, byte array etc. This topic is very easy then other java topics.   Let’s see String handling introduction example   class str1 {                 public […]

  • Copy file : File Management

    FileInputStream and FileOutputStream classes both use for copy file concepts. FileInputStream class reads data from one file. FileOutputStream class writes into another file.   Video on copy file java program. Program on copy to file to another file. import java.io.*; class io7 {                 public static void main(String args[]) throws IOException                 {                                 BufferedReader […]

  • FileOutputStream Class: Write data into File

    In this blog, we will see FileOutputStream class. This class uses to write data into any .txt, .bat, .java etc file in folder. In this program, we will see how to create file automatically and how to write data in created file. This is file save near to your java file in same folder. Better understanding, […]