Home Tutorialhelp Comment Java Programming

 
 

Comment

ana
Java Programming,
July 17, 2009 at 1:14 PM

Dear sir/maam,


I am a second year Computer Programming student. I just have some confusions about java and my friend told me that you can help me with this problem.. I have an assignment, a java program that can produce this output:

Example:

Enter your Birthday: August 24, 1991

Your Zodiac Sign is: Virgo
Your Element is: Water
Your Chinese Zodiac is: RAM



This is the output program and I dont know what commmands should I use.. Pls. help me..
View All Comments
Advertisement
Related Tutorial and Articles
Programming Questions

Question-Answer Guidelines
Question-Answer Guidelines How to ask questions... Question-Answer Guidelines Disclaimer RoseIndia does... guidelines: Do this: The user must post the query relating to only Java 

Programming Questions

Question Answer
? Browse Latest Questions Question-Answer Guidelines... to programming technologies such as Java. .NET, C#, C, C++, HTML, JavaScript... website. If you found the question you can read the answer if it solves your 

Java Interview Questions

java interview question and answer - Java Interview Questions
java interview question and answer   sir, i want one mark java interview question and answers 

Java Tips and Examples

Programming Style Guideline
guidelines are Sun's Code Conventions for the Java Programming Language, which... Java Notes: Programming Style Guideline Contents I. Motivation for programming guidelines II. Comments, indentation, spacing, braces, ... III. Naming 

Programming Tutorials

Java: Programming: Initials 2 - Answer
Java: Programming: Initials 2 - Answer 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 // File : data 

Java Beginners

Java experts.Please answer this question - Java Beginners
Java experts.Please answer this question  class A { void get() { System.out.println("A's method"); } } class C extends A{} class D extends...(); } } ------------------------------------------ Read for more information. http://www.roseindia.net/java 

Java Beginners

Clarify my last question's answer - Java Beginners
Clarify my last question's answer  Dear expert, I've tried out... did not specify my question too clearly. Here's my 2 database... question. Do you want to search through id or through the qualification selected 

Java Beginners

Java Programming Question
Java Programming Question  write a program in java to show thread working with sleep and wait method   Hi Friend, Please visit the following links: Wait Method Sleep Method Thanks 

General

Constructor Chaining Answer
Java NotesConstructor Chaining Answer Answers to the question in Constructor Chaining. Grandparent() constructor Parent(25) constructor Parent() constructor Child() constructor Copyleft 2003 Fred Swartz MIT License, Last 

Java Beginners

socket programming question
socket programming question   can you respond to me the multiple clients chat application java code and a server that manages the clients using the socket programming in java 

Java Beginners

socket programming question
socket programming question   can you respond to me the multiple clients chat application java code and a server that manages the clients using the socket programming in java 

Java Beginners

socket programming question
socket programming question   can you respond to me the multiple clients chat application java code and a server that manages the clients using the socket programming in java 

Java Magazine Questions

programming question - Java Magazine
programming question  I have an SGVT map displaying on a phone emulator but then want to search for a given location on the map and display... tool. I need a java solution to this please 

Java Beginners

Java Programming Question
Java Programming Question  Write a program in Java to accept 10 different numbers an store it in text file.   Hi Friend, Try this: import java.io.*; import java.util.*; class AcceptNumbers{ public static void main 

Java Beginners

Java Programming Question
Java Programming Question  Write a program in Java to create a menu bar with the help of event handlers.   Hi Friend, Try this: import javax.swing.*; import java.awt.event.*; public class SwingMenuBar{ public 

Java Beginners

programming question - Java Beginners
programming question  Create a class named Movie that can be used with your video rental business. The Movie class should track the Motion Picture Association of America (MPAA) rating (eg., Rated G, PG-13, R), ID Number 

Java Beginners

core java programming question
core java programming question  How to write a java program to list the customer names arrived to a restuarant on a particular date in alphabetical order with arguments as 1 filename yymmdd cust   Hi Friend, Try 

Java Beginners

Java Programming Question
Java Programming Question  Write a program in Java to create student information form an submit detail in database.   Hi Friend, Try this: import java.awt.*; import java.sql.*; import javax.swing.*; import 

Java Beginners

to know my answer
to know my answer  hi, this is pinki, i can't solve my question "how to change rupee to dollar,pound and viceversa using wrapper class in java." will u help me 

Java Beginners

question
question  Good Afternoon Sir, Please give me a client Server Socket programming using jsp and java with mysql connection 

Java Beginners

Java programming question - Java Beginners
Java programming question   Give the definition of a class named Doctor whose objects are records for a clinic's doctors. This class will be derived class of the class SalariedEmployee that is given below the question. A Doctor 

Ajax Questions

share your answer to this question
share your answer to this question  i need to know what is the TELERIK CONTROL? what is the map suite? what is dunda chart? Also i have to know what are the websites available which give infor regarding this. Let me know how 

Java Beginners

pls answer these question
pls answer these question  Write a program that prompts the user to input the length and width of a rectangle. Then calculate and prints the rectangle??s area and perimeter.   import java.io.*; class rectangle 

Java Beginners

Java programming question - Java Beginners
Java programming question  I want to write a program that converts temperatures from celsius to fahrenheit and vice versa. It also converts kilometers to miles and vice versa using "methods".  Hi Friend, Try 

Core Java

Ask Programming Questions and Discuss your Problems
? Browse Latest Questions Question-Answer... Ask Programming Questions and Discuss your Problems  ... and your love for Java and Java and Java related fields, Roseindia Technologies 

JSP Servlet Questions

Please answer me - JSP-Servlet
Please answer me  Hello Guys, this is the third time I'm sending this question. But I've not got the right answer from you. The again is: I need java servlet or jsp codes that I can use to insert and retrieve image from MSSQL 

Programming Tutorials

Java Programming: Section 3.2
techniques and guidelines that are relevant to "programming in the small... of the language and by following some basic programming guidelines. For example, I never... Section 3.2 Algorithm Development PROGRAMMING IS DIFFICULT 

Programming Tutorials

Java Programming: Solution to Programming Exercise
Solution for Programming Exercise 7.6 THIS PAGE DISCUSSES ONE POSSIBLE SOLUTION to the following exercise from this on-line Java textbook... be confused with a Timer object.) The guidelines for using Timers can be found 

Programming Tutorials

Core Java Interview Question, Interview Question
. Question: What is reflection in java Answer: Reflection allows Java code... Core Java Interview Question Page 24  ...(String args[]) method in Java Answer: We need public: The method can 

Programming Tutorials

Java Programming: Solution to Programming Exercise
Solution for Programming Exercise 8.1 THIS PAGE DISCUSSES ONE POSSIBLE SOLUTION to the following exercise from this on-line Java textbook. Exercise 8.1: An example in Section 8.2 tried to answer the question, How many 

Programming Tutorials

Core Java Interview Question, Interview Question
Core Java Interview Question Page 29  ... Question: When do we say an exception is handled Answer: When... wrong data or I/O problems Question: What are runtime exceptions Answer 

Programming Tutorials

Java Programming: Solution to Programming Exercise
into Java. One point of coding is the question of how to deal a card to the user... Solution for Programming Exercise 5.5 THIS PAGE DISCUSSES ONE POSSIBLE SOLUTION to the following exercise from this on-line Java textbook 

General

Ask JDBC question online
-answer service ‘Ask Question in JDBC’ for all our visitors. Now you... Application Programming Interface (API) that allows the java programs to execute... Programming Interface (API) that defines how a java programmer can access the database 

Java Beginners

i cNT GET ANSWER FOR THIS QUESTION
i cNT GET ANSWER FOR THIS QUESTION  The roots of the quadratic equation ax2+bx+c=0, aï??¹0 are given by the following formula: x=(-b?±â?š(b^2-4ac))/2a In this formula. The term b2-4ac is called 

JSP Servlet Questions

send answer
send answer  For online exam project,i want single question on single page and on that page there are three buttons previous,submit,next.If i click on next button it show next question from database 

Programming Tutorials

Core Java Interview Question, Interview Question
Core Java Interview Question Page 9   ... computer using such client/server Java technologies as RMI or socket programming... the servers in a cluster. Question: what is a collection ?  Answer 

Java Beginners

java.please answer this...
java.please answer this...   Q1).How we can write a complete JAVA program that computes the following summation formulas..? ??_(i=1)^n????i^2=?? (n^(2 ) ??(n+1)??^2)/4 

Programming Tutorials

Core Java Interview Question, Interview Question
Core Java Interview Question Page 5   ... } } ); Question: What are the uses of Serialization? Answer: In some types... Java technologies as RMI or socket programming. To "flatten" 

Java Beginners

IT115 programming with java - Java Beginners
IT115 programming with java  3. Answer those questions that you can... that you answer all parts of a question. Some questions have more than one part...) OPTIONAL Bonus Question (50 pts.) List all the naming convention rules that a Java 

Programming Tutorials

Java Programming: Chapter 2 Quiz
, as this term relates to programming? Question 4: One of the primitive types... of the following Java operators: a) ++ b) && c) != Question 6: Explain... of operators? Question 8: What is a literal? Question 9: In Java, classes 

JSP Servlet Questions

Please , can any one answer this Question?
Please , can any one answer this Question?  How to cummunicate one web application to another web application in different places 

Java Tips and Examples

Programming - Transform Name - Answer
Java: Programming - Transform Name - Answer Solution to: Write a program to redisplay a name, possibly transformed. This Java program will reformat... be rearranged. Iterative programming Here is a possible iterative development 

Programming Tutorials

Java Programming, Chapter 12 Quiz
by generic programming and what is the alternative? Question 2: Java does... is it about generic programming in Java that prevents it from working with primitive... are iterators necessary for generic programming? Question 4: Suppose 

Java Tips and Examples

WebTycho Guidelines
Java Notes: WebTycho Guidelines Good practices Code Corner Turn... go in HTML. This is something like the problem of putting a " into a Java string. In Java you prefix the metacharacter with a backslash (\). In HTML 

Programming Tutorials

Java Programming: Chapter 1 Quiz
do, and what does the Java interpreter do? Question 6: What is a subroutine? Question 7: Java is an object-oriented programming language. What... answer. Hint: One of the aspects is the variable's name.) Question 9: Java 

Programming Tutorials

Java Programming: Chapter 7 Quiz
is the function of a LayoutManager in Java? Question 5: What does it mean to use... handled in Java? Question 10: What is the purpose of the JFrame class... on material from Chapter 7 of this on-line Java textbook. You should be able 

Programming Tutorials

Java Programming: Chapter 9 Quiz
to say that a program is robust? Question 2: Why do programming languages.... Question 6: Java has a predefined class called Throwable. What does... on material from Chapter 9 of this on-line Java textbook. You should be able 

Programming Tutorials

Java Programming: Chapter 5 Quiz
. Question 8: Java uses "garbage collection" for memory management. Explain... on material from Chapter 5 of this on-line Java textbook. You should be able to answer these questions after studying that chapter. Sample answers to all 

Java Beginners

java question
java question  Implement a class called ShortAddress that has the following attributes: firstName, secondName, and phoneNumber. Now implement... details or the long address details. This means your final answer should have 

Programming Tutorials

Java Programming: Chapter 6 Quiz
? Question 8: Java has a standard class called MouseEvent. What is the purpose... program? Question 10: Java has a standard class called JPanel. Discuss... on material from Chapter 6 of this on-line Java textbook. You should be able 

Struts Questions

struts interview Question - Struts
struts interview question and answer java  struts interview question and answer java 

Programming Tutorials

Java Programming: Chapter 10 Quiz
the quiz questions can be found here. Question 1: In Java, input... and why it is important. Question 2: Java has two types of streams... on material from Chapter 10 of this on-line Java textbook. You should 

Programming Tutorials

Java Programming: Chapter 4 Quiz
on material from Chapter 4 of this on-line Java textbook. You should be able to answer these questions after studying that chapter. Sample answers to all the quiz questions can be found here. Question 1: A "black box" 

Programming Tutorials

Java Programming, Chapter 11 Quiz
on material from Chapter 11 of this on-line Java textbook. You should be able to answer these questions after studying that chapter. Sample answers to all the quiz questions can be found here. Question 1: Explain what 

Java Beginners

Interview question link - Java Beginners
Interview question link  Hi, I want JAVA+J2EE interview question and answer please suggesion me link 

Programming Tutorials

Java Programming: Chapter 3 Quiz
statements used in Java programs. Question 3: What is the main difference... on material from Chapter 3 of this on-line Java textbook. You should be able to answer these questions after studying that chapter. Sample answers to all 

Programming Tutorials

Java Programming: Chapter 8 Quiz
and dividing the answer by 365.0. Question 9: Suppose that a class... on material from Chapter 8 of this on-line Java textbook. You should be able to answer these questions after studying that chapter. Sample answers to all 

Programming Tutorials

Java Programming: Section 9.1
to the inventors of Java, can be traced to programming languages themselves. Java... for your own use doesn't have to be at all robust. The question... and correct specification. The question is whether the specification correctly 

Programming Tutorials

Java Programming: Section 12.1
and interfaces that are used for generic programming in Java. We will spend...++ can't use Java's style of generic programming either. Nevertheless, C++ has...++. Generic Programming in Java Like C++, Java is a strongly typed language 

Programming Tutorials

Java Programming: Chapter 3 Index
that problem? We'll look at a partial answer to this question in Section 2... Chapter 3 Programming in the Small II Control THE BASIC... on the level of "programming in the small" in this chapter, we 

Programming Tutorials

Java Programming: Section 2.5
.) Expressions are an essential part of programming. So far, these notes have dealt only..., there is a question of precedence, which determines how the operators are grouped... details of operators in Java. The number of operators in Java is quite large 

JSP Servlet Questions

Urgent Answer Req
Urgent Answer Req  how to view the file content which is at client side from jsp in java 

Programming Tutorials

Java Programming: Section 3.3
IN JAVA CAN BE either simple statements or compound statements. Simple statements... the control structures that are available in Java, starting with the while... at examples of programming with each control structure and apply the techniques 

Programming Tutorials

Java Programming: Section 5.4
it executes the redraw()? Informally, we can answer the question like this: The computer.... This is a powerful idea. However, something like this can be done in most programming languages. The central new idea in object-oriented programming -- the idea 

Programming Tutorials

Java Programming: Section 4.2
should it change to? A parameter can be used to answer this question. Since... SUBROUTINE IN JAVA MUST BE DEFINED inside some class. This makes Java rather unusual among programming languages, since most languages allow free-floating 

Programming Tutorials

Java Programming: Section 11.5
the syntax of a programming language such as Java in a formal and precise way... that the study of programming languages, which are pretty well understood, can give.... And programming languages raise more than enough interesting issues to make them 

Programming Tutorials

Java Programming: Section 12.4
of these are necessary because of the nature of generic programming in Java... With this section, we reach the end of Introduction to Programming Using Java. It has been... to move on to more advanced study of Java, programming, and computer science 

Java Beginners

question
question   sir plz tell me what should i give in title box. just i want java program for the question typed in this area 

Java Beginners

question
question   sir plz tell me what should i give in title box. just i want java program for the question typed in this area 

Java Beginners

Question
Question   When there is an exception in my program how java runtime system handles 

Java Beginners

Plz answer - Java Beginners
Plz answer  Create a Java Bean Class ?? Customer according to the below given class diagram. Customer ------------------------------------ - customerId : int - customerName : String - customerAddress : String - pincode 

Programming Tutorials

Java Programming: Section 8.2
Section 8.2 Programming with Arrays ARRAYS ARE THE MOST BASIC... arrays are among the most important programming techniques you can learn. Two... processed, max is the largest item in the array overall. The only question 

Programming Tutorials

Core Java Interview Question, Interview Question
Core Java Interview Question Page 14       Question: What is clipping? Answer: Clipping... that is implemented in a language other than Java. Question: Can a for statement loop 

Java Beginners

plz answer - Java Beginners
 

Java Beginners

question
question  dear sir/madam my question is how to compare two text format in java..we are java beginners..so we need the complete source code for above mentioned question...we have to compare each and every word 

Java-Tutorials

Complete Java programming tutorials for beginners
Complete collection of Java programming tutorials for beginners is available... programming. These programming tutorials have a vast collection of Java... programming in order to exploit the vast potential of this field. Java at present 

Programming Tutorials

Java Programming: Section 7.6
Section 7.6 Timers, Animation, and Threads JAVA IS A MULTI... be running at the same time. To say that Java is a multi-threaded language means that a Java program can create one or more threads which will then run 

Programming Tutorials

Core Java Interview Question, Interview Question
Core Java Interview Question Page 17  .... Question: Can an object be garbage collected while it is still reachable? Answer... : z ? Answer: It is written x ? y : z. Question: What is the difference between 

Programming Tutorials

Core Java Interview Question, Interview Question
Core Java Interview Question Page 21  ... and are laid out using the squares of a grid. Question: What an I/O filter? Answer: An I.... Question: If an object is garbage collected, can it become reachable again? Answer 

Java Beginners

java related question
java related question  How can we make a program in which we make mcqs question file and then make its corresponding answer sheet....like if we make 15 mcqs then java should generate it answer sheet of 15 mcqs with a,b,c d 

Java Beginners

java programming - Java Beginners
java programming  asking for the java code for solving mathematical equation with two unknown .thnx ahead..  Hi Friend, Please clarify your question. Which mathematical equations you want to solve? Thanks 

Java Beginners

Java Class Question?
Java Class Question?  1. Create an application names Numbers whose... but not display the answer instead it should return the answer to the calling method which displays the answer 

Java Beginners

Java programming - Java Beginners
Java programming  hi sir, my question are as follows... hope u can solve my java programming problem.. Write a program to develop a class to hold... to : http://www.roseindia.net/java/beginners/index.shtml Thanks 

Programming Tutorials

Core Java Interview Question, Interview Question
Core Java Interview Question Page 22       Question: What is a compilation unit? Answer: A compilation unit is a Java source code file. Question: What interface 

Programming Tutorials

Java Programming: Chapter 1 Quiz Answers
language.) Question 5: If you have the source code for a Java program...? Answer: The Java compiler translates Java programs into a language called... language.) Question 6: What is a subroutine? Answer: A subroutine 

Programming Tutorials

Core Java Interview Question, Interview Question
Core Java Interview Question Page 27  ... Question: Explain modifier final Answer: Final can be applied... and methods Question: Can abstract class be instantiated Answer 

Programming Tutorials

Core Java Interview Question, Interview Question
Core Java Interview Question Page 26  .... Which primitive datatypes are signed. Answer: All except char and Boolean Question.... It range is 0 to 2^7-1 Question: What forms an integral literal can be Answer 

Programming Tutorials

Core Java Interview Question, Interview Question
Core Java Interview Question Page 12       Question: What is a transient variable? Answer.... Question: How are Observer and Observable used? Answer: Objects that subclass 

Programming Tutorials

Core Java Interview Question, Interview Question
Core Java Interview Question Page 18       Question: Is &&= a valid Java operator? Answer: No, it is not. Question: Name the eight primitive Java 

Programming Tutorials

Core Java Interview Question, Interview Question
Core Java Interview Question Page 16  ...? Answer: Frame Question: How are commas used in the intialization... implementation is deferred to a subclass. Question: How are Java source code files 

Programming Tutorials

Core Java Interview Question, Interview Question
Core Java Interview Question Page 15  ... a container to be laid out and redisplayed? Answer: validate() Question: What... is to provide access to the Java runtime system. Question: How many times may 

Programming Tutorials

Core Java Interview Question, Interview Question
mentions a shallow copy in Java? Answer: Object cloning. Question: If you're... Core Java Interview Question Page 2   ... a Vector and an ArrayList Answer: Java Vector class is internally synchronized 

Programming Tutorials

Java Programming: Chapter 2 Quiz Answers
is a type, as this term relates to programming? Answer: A "type... of the following Java operators: a) ++ b) && c) != Answer: The operator..., and should not be confused with the value itself. Question 9: In Java 

Java Beginners

programming java qus.
programming java qus.  write a import statement that import all the inner class of outer class .outer class must not be imported??   You must not ask similar question more then once. If it happens the user id 

Java Beginners

java programming - Java Beginners
java programming  heloo expert, thanks for your coding i recently asked about the question on abt how to program a atm system may i noe in which platform can i run those codes ?? netbeans ?? any suggestions 

Programming Tutorials

Core Java Interview Question, Interview Question
Core Java Interview Question Page 13       Question: What is an Iterator interface? Answer...? Answer: setBounds() Question: How many bits are used to represent Unicode 

Programming Tutorials

Core Java Interview Question, Interview Question
Core Java Interview Question Page 30  ... Answer: Yes constructors can be overloaded Question: What happens when... in the constructor Question: What is an inner class Answer: An inner class is same 

Programming Tutorials

Core Java Interview Question, Interview Question
Core Java Interview Question Page 19  ... an exception be rethrown? Answer: Yes, an exception can be rethrown. Question: Which... is the immediate superclass of the Container class? Answer: Component Question 

Programming Tutorials

Core Java Interview Question, Interview Question
Core Java Interview Question Page 23  ... and interfaces that are loaded by a Java program. Question: How does a try statement.... Question: What method must be implemented by all threads? Answer: All tasks must 

Java Interview Questions

programming
for the waiting of ur answer ur friend`print("code sample 

Advertisements Advertisements
 

 

 

DMCA.com