Java
How many types of loop are there in Java and how they differ in their function?
Can you give an example of each loop?
- 2072 views
- 2 answers
- 0 votes
Does Java and Javascript programming are the same? If not, Define both terminologies and their usage.
- 1154 views
- 2 answers
- 0 votes
What is the function of JFrame in Java and how to declare JFrames? Can you give example of it? Thanks
- 1430 views
- 2 answers
- 0 votes
Can you help me create a program that will display a diamond shape using for loop in Java?
Have you done this program before? Can I have the code? Thanks.
- 2811 views
- 1 answers
- 0 votes
Hey,
My brother asked me to help him in his homework. His instructor asked him to create a program that will convert Celsius to Fahrenheit and vice versa using Java.
I don't know the formula and I have no knowledge on how to do this. Can you help me?
Thanks
- 2374 views
- 2 answers
- 0 votes
Hey Friend,
What does the term encapsulation mean and what is its function in Java?
Can anyone explain me details about it?
Thanks.
- 834 views
- 2 answers
- 0 votes
I am having trouble declaring arrays in java. I don't know what is the code or syntax that can be use in declaring arrays. Please, teach me about arrays in java and how to code it. thanks
- 1000 views
- 2 answers
- 0 votes
Hi friend,
I'm working on my first java project and I want to add label,textbox,checkbox,combobox and command button on it. to look it better but I don't know how to code them. May you help me with this?
Thanks
- 870 views
- 2 answers
- 0 votes
I need a little help in java programming. I will be using in my payroll system. I need a program in java who will let the user enter an employee code then all of the information about the employee having that code will appear. The program will get the information from a notepad file.
Example:
Enter Employee code: 110011
(If I enter the code the information of the employee who have that code will appear)
Employee name: John S.
Age:20
Position:Secretary
Rate per hour: 5.00$
Country: USA
I'll just want a sample code as my reference. Thanks
- 1706 views
- 1 answers
- 0 votes
I am a student and I was asked by my Instructor to create a palindrome program in java. The main function of this program is to let the user enter a sequence of number and the program will determine if the input is a palindrome or not.
Palindrome is a word or sequence of number that read the same forwards or backwards, but the program have to determine sequence of numbers only. Words are not accepted.
In addition, If the input is a palindrome the program will return a message stating "x(sequence of number) is a palindrome or "x(sequence of number is not a palindrome).
example:
Enter a number:115511
(115511 when read forwards and backward is 115511)
115511 is a palindrome
- 1016 views
- 2 answers
- 0 votes