1.) if we use "private" in place of "public" in public static void main()... 2.) if we use "int" in place of "void".... 3.) can we ommit "static" keyword from that statement.... 4.) also can we give the command line arguments type as int type or float,etc.(.i.e (string args[]))
1 5856How to excute - Interface - Inner class- method can any one tell how to execute/ call this main method public interface abc { static int i=0; void dd(); class a1 { a1() { int j; System.out.println("inside"); }; public static void main(String a1[]) { System.out.println("in interfia"); } } }
1 3301
Can we convert integer to string in java?
What is variable in java?
Is java 11 paid version?
Write code of any action class?
What are unchecked exceptions in java?
What are access specifiers in java ?
Differentiate between array list and vector in java.
Why is a singleton bad?
Explain when we should make an instance variable private.
What state is a thread in when it is executing?
what is meant by abstract class?
Q1.A. Write note on “The class path Environment Variable”? B. Which are different kinds of source code? Q2.A. How to create an interface? B. Why convert an applet to an application? Q3.A. How to use Media tracker Class. B. How to use string tokenizer class. Q4 A. Explain the overview of UDP messaging. B. Difference between SQL Exception class and SQL Warning class. Q5. A. How to create com object in Java? B. Write short notes on “The properties class” Q6. A. When object is created and destroyed? B. Explain the JDB in depth & command line. C. Write short notes on Web Sites.
What is the benefit of inner classes in java?
What is a package in java? List down various advantages of packages.
Explain the difference between a Thread and a Process.