answersLogoWhite

0


Best Answer

public class S{public static void main(String[]a){String o="public class S{public static void main(String[]a){String o=%c%s%c;System.out.printf(o,34,o,34);}}";System.out.printf(o,34,o,34);}}

User Avatar

Wiki User

โˆ™ 2011-02-18 18:09:54
This answer is:
User Avatar
Study guides

Mixture

1 card

Class

โžก๏ธ
See all cards
4.35
โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…
23 Reviews

Add your answer:

Earn +20 pts
Q: Write a Java program to generate a copy of itself?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Can we add website link when we write java program?

yes ,i can add the website link in java program when we write.


Write a program to show Type Casting in JAVA?

program for type casting in java


How do you write java program without using class?

you can not write a java program without using even single class..............


What gives Java it's write once and run anywhere nature?

Java runs a virtual machine which is an operating system in itself. Any operating system the java virtual machine can run on a java program can.


Write a program to find gcd using recursive method in java?

simple program for recursion in java


How to write a java program to extract the last digit from the input?

To write a Java program to extract the last digit from the input you have to use tuples and loops.


Write a c program Fibonacci series using for loop in java?

Exactly what do you mean by 'C program in Java'


How write new line program in java?

\n


What is the definition of java program?

A Java program is a program that is written in the java programming language. You can create java classes, packages, interfaces etc and create java programs. You can write methods inside these classes to create the functionality in your class.


What is javadoc?

write a java program to display "Welcome Java" and list its execution steps.


Write a program in Java to find factorial of a number How do you compile and execute this Java program?

teri maa ka booshda


Could you write a java program that randomly generate a number plate for a car registration using the random method from Maths class eg NLF810?

yes, use for loop;;

People also asked