• Parameter Constructor and overloading

    What is parameter constructor? – In java program, when we set same class name and method name that is called constructor structure in java program and when we set parameter as constructor method it’s called parameter constructor. – Constructor method does not have return type. – 3 types of constructor available in java program. – […]

    Share and Enjoy

    • Facebook
    • Twitter
    • Delicious
    • LinkedIn
    • StumbleUpon
    • Add to favorites
    • Email
    • RSS
  • Default Constructor in java program

    What is default constructor? – In java program, when we set same class name and method name that is called constructor structure in java program. And when we set null argument as method it’s call default constructor. – Constructor method does not have return type. – 3 types of constructor available in java program. – […]

    Share and Enjoy

    • Facebook
    • Twitter
    • Delicious
    • LinkedIn
    • StumbleUpon
    • Add to favorites
    • Email
    • RSS
  • Getter – Setter Methods in Java Program

    What is Getter Setter Methods? – Getter Setter Methods are working to get data from class and to set data in class. This is one easy process for all programmers. We can also use constructor. But getter – setter is very easy and flexible for all java developer.   Let’s see example on Getter Setter […]

    Share and Enjoy

    • Facebook
    • Twitter
    • Delicious
    • LinkedIn
    • StumbleUpon
    • Add to favorites
    • Email
    • RSS
  • Object VS Reference in java program

    Object VS reference in java class programming? This is basic different between them. Object can access class data members. (data members -> methods and variables) Reference can’t access directly class data members.   Let’s see example on Object VS Reference. class A { void method1() { System.out.println(“Welcome in Invision Software Solution”); } } class clEx1 […]

    Share and Enjoy

    • Facebook
    • Twitter
    • Delicious
    • LinkedIn
    • StumbleUpon
    • Add to favorites
    • Email
    • RSS