Privacy Policy Terms Of Use. Copyright © 2006-2010 Java Tutorials and Examples.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Submitted by Deepali on Sat, 09/18/2010 - 13:22
Write a java program which creates a class called Person. The class should have three instance variables namely name, age and salary. These variable should of type String, int and float. Create new object of the class, set member variables and display them.
0 answers
Similar entries
- Java class assignment 2
- Java byte variable assignment
- Java Array, Java Array Tutorial
- Write a program to calculate rectangle area.
- Write a program to calculate Cylinder area
- Java array assignment program
- Integer Data Types
- Convert float primitive to Float Object example
- Java ArrayList toString
- Write a program to calculate square area
