codedamn

Non-Primitive Data Types and Strings in Java

Created by Piyush Garg about a year ago

0

No description provided

3 Comments

    4

    takeaway points :

    1. String is basically non primitive data type because it is implemented as a class so String is a predefined class in java .
    2. It is set of characters enclosed in double quotes .
    3. string concatenation is possible using + operator ex : str1 + "is a footballer"; 4.As it is class , we get al lot of options of using various functions here toUpperCase() and some other funcns were used .
    4. Taught about wrapper class in a width and it is basically used for some additional functionalities and they are around primitive data types .
    5. String name = ' ' or String name ; --> sout name ; String name = "" all will give error u have to intialize them if u are declaring them .

    CORRECT ME IF IAM WRONG SOMEWHERE @Piyush

    @ravkk

    ravi karthik

    @ravkk

    0

    Day 3: Understood Non primitive data types and wrapper classes which have useful methods.

    @himansys

    Himanshu Kandpal

    @himansys

    0

    Thanks for the lesson!

    @rdnelson

    Ross Nelson

    @rdnelson

Your comment