Is it modify Object data? Generally Object data can't modify............but in this program it modifies.......... Why?

Is it modify Object data? Generally Object data can't modify............but in this program it modifies.......... Why?

import java.io.*; public class Conversions { public static void main(String args[]) throws Exception { int a,b; DataInputStream dis=new DataInputStream(System.in);

            //String to Fundamental conversion
    System.out.print("Enter any integer value: ");
    a=Integer.parseInt(dis.readLine());


    //Fundamental to Object conversion
    System.out.println("Before fundamental to object conversion");
    System.out.println("a+10 value: "+(a+10)+"\t\t\ta+20 value: "+(a+20));
    System.out.println("After fundamental to object conversion");
    Integer io=new Integer(a);
    io++;
    io=io+2;
    System.out.println(io);
            System.out.println("Object data is modified");


}

}

View Answers









Related Tutorials/Questions & Answers:
Is it modify Object data? Generally Object data can't modify............but in this program it modifies.......... Why?
modify program
Advertisements
how to store,retrieve,modify the data
Modify Data Type with ALTER Command
date_modify
Data Access Object
how to modify QuestionServlet.java page?
object
ModuleNotFoundError: No module named 'data-object'
ModuleNotFoundError: No module named 'data-object'
Object with different data types
ModuleNotFoundError: No module named 'pdfconduit-modify'
object oriented programming data science
object oriented program.. - Java Beginners
Object oriented program - Java Beginners
Modify the sales tax program to accept an arbitrary number of prices, total them, calculate the sales tax and print the total amount.
Data Access Object
how to modify content of XML file
how to modify hosts file in ubuntu
ModuleNotFoundError: No module named 'modify-csi-datatable'
ModuleNotFoundError: No module named 'modify-csi-datatable'
ModuleNotFoundError: No module named 'django-modify-history'
Data transfer object at run time - Development process
object of object class
ResultSet Object data to Ms-Word Doc
can modify this application connection with database
How can i modify my account in roseindia
Creating Data Access Object (DAO) Design Pattern
NSMutableArray change object at Index
ArrayList object
Session Object
Java--Xml Modify Node Value - Java Beginners
Maven Repository/Dependency: com.github.tknudsen | complex-data-object
Java-Xml -Modify and Update Node - Java Beginners
object creation
Object Oriented
ModuleNotFoundError: No module named 'ansible-role-tripleo-modify-image'
ModuleNotFoundError: No module named 'ansible-role-tripleo-modify-image'
ModuleNotFoundError: No module named 'ansible-role-tripleo-modify-image'
Java object
Object reference not set to an instance of an object
How can I initialize the JSONArray and JSON object with data?
Vector object[]
object as argument
Java object
Object Creations
Object
Document Object Model(DOM)
Data Access object (DAO) Design Pattern
Session Object

Ads