aspose file tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Getting Compile time error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Getting Compile time error" Watch "Getting Compile time error" New topic

Getting Compile time error

shruti patel
Ranch Hand

Joined: Mar 10, 2008
Posts: 52
class TestProps
public static void main(String[] args)
Properties p=System.getProperties();
System.out.println("Hello World!");

when i compile this code getting error as "cannot find Symbol"
with this line
Properties p=System.getProperties();
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902

import java.util.Properties; package .
[ June 25, 2008: Message edited by: Sagar Rohankar ]

[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Have you tried LearnNowOnline?
subject: Getting Compile time error