A Class is a Blue Print of an object ( WPF ) |
Objectives:
- A Java Class named "String" was used as a type to
declare a variable/field
- String str1 // declaration,
- str1 = "Something"; // Creating /Instantiation an object
- A variable can hold a primitive data type or reference of
an object
-
|
Step:1 Code Snippet
HelloObject2.java.txt
|
Step:2 Runt time views
a) Object acquiring a primitive data type and shows the Class Type
|
|