For printing a message we use System.out.println in normal
programs.
We use String msg="text.....";
Can't we use String msg=" " in normal programs and
System.out.println("........") in applets.
Please answer this question?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More J2SE Code Interview Questions

what are the other loops except for for,while,do while and until?

0 Answers   Aricent,


does anyone know the code to display a triangle using a applet?

1 Answers  


write a program that inputs two real numbers then exchanges their values.

7 Answers   Infosys,


In java, why do we set thread priority, when we know that there is no guarantee by which a thread should be execute?

0 Answers   Google, Microsoft,


1+(2*3)+(4*5*6)+(7*8*9*10)+... specified input value

1 Answers   MAQ,






how to create a (*)pyramid using java codes???

5 Answers   Infosys,


Can we run Applet in Web browser with security policy files

0 Answers  


Is it possible to define marker interface in java.If possible then how to define user defined marker interface?

1 Answers   Tech Mahindra,


write a program that will ask the user to enter a number n and display the product of all numbers from 1 to n.

1 Answers  


Program to print map of India in java.

2 Answers  


we compile any program bu c:/>javac prog.java and run as c:/>java prog Here what's the meaning of c in javac. We have java Interpreter but not compiler.Then why we have to use javac. Please answer this question?

2 Answers  


how to print a message to console without using main() function?(do not use even static blocks also.)

14 Answers   Google, Zoho,


Categories