What is the use of system class?
Latest Answer: System class is used to provide access to the system resources. ...
Latest Answer: By making constructor as 'private', we can make a final class. ...
Latest Answer: This is a very common question asked in the comp.lang.java newsgroup. Its often useful to have an executable application when deploying your applications to a specific platform, but remember to make your .class files available for users running Unix/Macintosh/other ...
Latest Answer:  Java Mail API is ued to send a Mail through java application. To Test Program all you need to have is a SMTP address (Which your ISP Provides). We will see a sample program to send a mail through java program now.import javax.mail.*;import javax.mail.internet.*;import ...
Latest Answer: The Java class file is a precisely defined format for compiled Java. Java source code is compiled into class files that can be loaded and executed by any JVM. The class files may travel across a network before being loaded by the JVM. The Java class file ...
Can a abstract class have a constructor ?When would the constructor in the abstract class be called ?
All the classes including the abstract classes can have constructors.Abstract class constructors will be called when its concrete subclass will be instantiated.
Is it ok to say interfaces,classes are of polymorphism(i.e we can use those for different purposes).if not then why?
I have a rtf file generated out of jasper report.I want to print this file.I tried using Runtime.getRuntime().exec.But, it is not printing.My questions are: how do I print the file and how do I specify the path of the file for printing.
Latest Answer: following things needed1. put hibernate3.jar in project lib2. write hibernate configuration file (ie) hibernate.cfg3. write hibernate mapping file (say) student.hbm.xml4. get hibernate session and begin transaction5 endbye ...
View page [1] 2 3 4 5 6 7 Next >>

Go Top