Short Java
Programming Questions
How can we open the outlook express using java code? Here is code to invoke the Outlook express......in Java...I have done this..In one of my application: *-- Vinayak *try
What is the difference between normalServlet and ActionServlet? This question could have a long
list of differences to talk about. Answer would depend on what aspect you
talk about.
What is join( ) method in thread and give a suitable program? In Threads it waits for the thread to die What is the modifer of DefaultConstructer that takes by the JVM and Why? We know constructer cannot be overriding. A method cannot be overtridden when it is declarded private or final. I think the modifier of default constructer is private but I am not sure, I confused . JVM makes up no args constructor by default Only if no other constructor is defined. Accessor is not private for default constructor. For example if you have a class Person defined as below public class Person {
Then you can create object of Person
type as
but if you modify Person class as below public class Person{
Then you can not create object of
Person type as
But this does not imply that no args constructor is private. You simply haven't defined one. Though if there are no constructors in a class JVM creates default constructor on its own which takes no args Tips by : CK
Related:
Java Certification, Programming, JavaBean and Object Oriented Reference Books Return to : Java Programming Hints and Tips All the site contents are Copyright © www.erpgreat.com
and the content authors. All rights reserved.
|