Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * This program uses the domain class.
- *
- * @author (Rochita Chatterjee)
- * @version (Version1 2/5/17)
- */
- public class domainUser
- {
- public static void main (String [] args)
- {
- domain website = new domain (); // calling the domain class
- website.setSiteName("www.web.com"); /// setting name of website
- System.out.println( website.getSiteName()); //retriving value from domain class
- }
- }
Add Comment
Please, Sign In to add comment