- If you need clarification, ask it in the comment box above.
- Better answers use proper spelling and grammar.
- Provide details, support with references or personal experience.
Tell us some more! Your answer needs to include more details to help people.You can't post answers that contain an email address.Please enter a valid email address.The email address entered is already associated to an account.Login to postPlease use English characters only.
Tip: The max point reward for answering a question is 15.
/* This program computes Fibonacci numbers using a recursive method. */ public class Fibonacci { public static void main(String[] args) { String input = JOptionPane.showInputDialog("Enter n: "); int n = Integer.parseInt(input);
for (int i = 1; i { int f = fib(i); System.out.println("fib(" + i + ") = " + f); } System.exit(0);
}
/** Computes a Fibonacci number. @param n an integer @return the nth Fibonacci number */ public static int fib(int n) { if (n return 1; else return fib(n - 1) + fib(n - 2); } }
1. No, it will take lots of code changes 2. Maybe 3. That depends on what its functions are 4. You may not have to convert it at all 5. Maybe, that's your choice
<HTML>
<HEADER>
<TITLE>Welcome To My Webpage</TITLE>
</HEADER>
<BODY>
<P><B><H1><U>Welcome To My Webpage</B><H1></U></P>
<script:"type/javascript">
alert("Welcome To My Webpage!");
</script>
</BODY>
</HTML>
Swing is java library that provides basic GUI controls [also called widgets like buttons, checkboxes, labels, menus, etc.. You can use it to create a interactive application with nice interface.
Hi I am Nitin Daharwal ..
If you want make project in Java using Swing only. You may opt for these options
1. Java Image Viwer
2. Exam Simulator
3. Bulk E mail
4. Snake Game
5. Chatting Client
6.Inventory Mangement System
you can mail at nitin.daharwal@gmail.com for any help ..
×