Java For Life ...Part-6

  • Operators:-

    We come  across the concept called  Operators..So,today  we learn about  New  operator.

  New Operator:-

     This is used for creating Objects in java.
  •  Objects will be created for classes in java..
  • An  Object  is a instance of a class.
  • Where a class is a template  or blue printW
  • When ever an object is created  Memory  will be allocated for the members  of        the class.

    Dot  Operator:-

        This is used to access members of the class or classes of the package etc.,
     Ex:-  Student.course, java.util.String etc.,
    

    Parsing:-

         The process of converting a String  value to  primitive value is called Parsing .
       

    Command Line Arguments:-

        The values [input] which are provided   from the command promt at time of  executing java            program  are called command line arguments..
      
       All command line arguments  are  stored in string array of main method..which is args.
       All the command line arguments will be stored as String  type, irrespective of its original type..

       

     

No comments:

Post a Comment