This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package forLoopBasicPrograms; | |
| import java.util.Scanner; | |
| public class ForLoop { | |
| public static void main(String[] args) { | |
| // TODO Auto-generated method stub | |
| ForLoop user = new ForLoop(); | |
| //user.reverse(12345); | |
| //user.countofDigits(); | |
| //user.additionofDigits(); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package collection; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| public class CollectionDemo1 { | |
| public static void main(String[] args) { | |
| // TODO Auto-generated method stub | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package collection; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| public class CollectionDemo { | |
| public static void main(String[] args) { | |
| // TODO Auto-generated method stub | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package fileReading; | |
| import java.util.regex.Matcher; | |
| import java.util.regex.Pattern; | |
| public class RegexDemo { | |
| public static void main(String[] args) { | |
| RegexDemo user = new RegexDemo(); | |
| user.regex(); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package fileReading; | |
| import java.io.File; | |
| import java.io.IOException; | |
| public class FileDemo { | |
| public static void main(String[] args) { | |
| // TODO Auto-generated method stub | |
| File f = new File("/home/kumar/Documents/B18/kumar.txt"); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package exceptionHandling; | |
| public class ExceptionCaller { | |
| public static void main(String[] args) throws Exception { | |
| // TODO Auto-generated method stub | |
| ExceptionDemo ed = new ExceptionDemo(); | |
| //ed.example3(); | |
| PasswordException pe = new PasswordException(); | |
| pe.check("kumarram"); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package exceptionHandling; | |
| public class PasswordException extends Exception{ | |
| public static void main(String[] args) { | |
| // TODO Auto-generated method stub | |
| } | |
| public void check (String s) throws PasswordException | |
| { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package exceptionHandling; | |
| import java.util.InputMismatchException; | |
| import java.util.Scanner; | |
| public class ExceptionDemo { | |
| public static void main(String[] args) { | |
| ExceptionDemo user = new ExceptionDemo(); | |
| //user.example(); | |
| user.example2(); | |
| //user.example3(); | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package myproject; | |
| import java.util.Scanner; | |
| public class Weaving { | |
| public static void main(String[] args) { | |
| // TODO Auto-generated method stub | |
| Weaving saree = new Weaving(); | |
| saree.threadCalculation(); | |
| //saree.normalSareeDesign(); | |
| saree.sareeDesignSelection(); | |
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | public class StringDemo { | |
| public static void main(String[] args) { | |
| StringDemo user= new StringDemo(); | |
| //user.hashcode(); | |
| //user.length(); | |
| //user.findingNoofChar(); | |
| //user.stringtoCharacterArray(); | |
| //user.findingSmallLettersorNot(); | 
NewerOlder