what is the difference between System.out.println and out.println in java

Answer Posted / sharmi

Both are used to display the output. But system.out.println
is used in java and out.prinln is used in scripting languages

Is This Answer Correct ?    28 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What happens when a thread cannot acquire a lock on an object?

770


Brief description about local interfaces?

919


How to pass parameters in RMI?

1977


What is the difference between the string and stringbuffer classes?

794


Have you used threads in Servelet?

2223


Is the infobus client side only?

866


Can I run seam with jdk 1.4 and earlier?

746


If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?

1988


What must a class do to implement an interface?

785


A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions

2025


Name the eight primitive java types.

832


When is the best time to validate input?

831


Which containers use a border layout as their default layout?

858


Which container method is used to cause a container to be laid out and redisplayed?

896


What are externizable interface?

797