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

How can we get the details for printing the employee details at run time using JDBC connectivity? can u provide the coding for that? Its urgent?

2 Answers  


How to create and run runnable jar file of a Java Project.

4 Answers   HCL, TCS, Tech Mahindra, US Consulate, Wipro,


Bubble Sort. java thereafter the user will be asked to inpout the size of the list,sort the list in ascending order and display the sorted list in a horizontal manner???

0 Answers  


Design a program using one-dimensional array that determines the highest value among the eight input values from a user. Display the difference of each value from the highest to the lowest.

1 Answers   RoboSoft,


is public static void main() work in java?is "String arg[]" needed as argument?

4 Answers   Tech Mahindra,






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

0 Answers   Aricent,


write a java program to create a Frame with three scrolls, change the back ground color of the frame using functions with values of scrolls.

0 Answers  


inner join,outerjoin,trigger,stored procedure explain with code snippets?

1 Answers   IBM,


Can we run Applet in Web browser with security policy files

0 Answers  


How to create Date method to set the date in Ms Access

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,


Why we r using String args[] in main() even though v r not passing any arguments in command line?

2 Answers  


Categories