chevron_left

Recent posts tagged java

0 0 1 min.
**Problem:** ======== I have started learning java a few days earlier. I was doing good so far except I git the error: **java.io.FileNotFoundException:** (The system cannot find the file specified) I was trying to read a file from my system as an a...
posted Oct 24 Naymul01 996 points
0 0 1 min.
Problem: I've got a simple code of java. I am being a failure to compile my program. It throws back an unknown error says, `missing '}' or illegal start of expression. Here is my code snippet` public class MyClass { public static void main...
posted Oct 23 Naymul01 996 points
0 0 2 min.
Problem: -------- Well, I need to write a program that will *re-prompt the user after invalid input in java*. Let’s say my program prompt value from the user and store in a variable. Then it will compare the variable and my desire value. If the valu...
posted Oct 23 Naymul01 996 points
0 0 1 min.
**Problem:** ======== Hello everyone, I am a newly registered member here. I found you guys so amazing and helpful. Out of curiosity I just started learning the **Java programming** language and made my very first program that will add two differen...
posted Oct 23 Naymul01 996 points
0 0 1 min.
Problem: -------- Hello guys, I have a very simple question regarding **Java Programming**. I’ve searched your website before posting this question but I haven't got any appropriate answer. Yes, there are a couple of answers but not as specific as I...
posted Oct 23 Naymul01 996 points
0 0 1 min.
**Problem:** ======== Hello Kodlogers, I have started learning Java programming recently. I am solving problems from many websites and even textbooks. Right now I got a problem that says to get numbers of lines in a file using the java program. I do...
posted Oct 23 Naymul01 996 points
0 0 1 min.
**Problem:** ======== I am facing a problem converting my string type array to an integer type array. Let’s say I have an array of string String [] mystr = {"123", "234", "345", "456"}; and I want to cast my string to an integer type Stri...
posted Oct 23 Naymul01 996 points
0 0 1 min.
**Problem:** ======== Hello good people, I am a novice in java programming. I am learning java online and solving problems daily. Today I got a problem that says to check if input is a number. How can I check it? Is it require a **scanner** class? C...
posted Oct 23 Naymul01 996 points
0 0 1 min.
**Problem:** ======== Hello all, I have a sample String. Let’s say it is "my name is gavin" As you can see there is no capital letter in my String. I want to make a program that can replace every first position of each word with a capital wor...
posted Oct 23 Naymul01 996 points
0 0 1 min.
Problem: -------- I'm a complete beginner to **Java**, and after learning some of the basics, I decided to do some practice problems. I am solving problems from many voluntary websites. I've searched for solutions on various forums, but none of them...
posted Oct 23 Naymul01 996 points
0 0 1 min.
**Problem:** ======== Hi! I’m a high school level student and learning Java in class and I have a homework assignment where I have to complete quizzes and exercises online. I need help with a couple of exercises but I solved most of them except one....
posted Oct 23 Naymul01 996 points
0 0 1 min.
**Problem:** ======== Hello Kodlogs, How can I iterate through characters in a string java? The question comes from a novice in **java**. So, please keep your answer as easier as possible. Note: I can declare a string type in Java. Solution: ---...
posted Oct 23 Naymul01 996 points
0 0 1 min.
**Problem:** ======== Hello guys, I am a novice in Java programming. I have started learning java programming out of curiosity and I am loving it. I am solving primitive problems from a website. I recently got a question that says to find odd numbe...
posted Oct 23 Naymul01 996 points
0 0 1 min.
**Problem:** ======== Hello all, I just started learning java OOP. Things are getting clear to me gradually. My question is very simple. Can we override a private method in java? Please reply to this thread with a legit explanation. Thanks Soluti...
posted Oct 23 Naymul01 996 points
0 0 1 min.
**Problem:** ======== I am trying to run a simple java program using Eclipse. My program is returning something suspicious message (**process finished with exit code 0**). What is it? Please, find my sample code below and let me know how to fix the ...
posted Oct 23 Naymul01 996 points
0 0 1 min.
Check if char is null java In Java, a character is declared using data type char. Java's character represents a Unicode character. A Unicode character set defines a whole set of international characters that are available in all human languages. I...
posted Oct 23 DivyaN 507 points
0 0 3 min.
How to get last two characters of a string in java So, let us first start perceiving about the concept of string handling in Java. Unlike other programming languages where string is a implemented as a character array, string in Java is an instance ...
posted Oct 23 DivyaN 507 points
0 0 2 min.
**Problem:** ======== Hello guys, I find out about this forum a few days ago. You guys are superb and friendly with your help. I loved the forum very much, this is really resourceful. Well, I introduce myself as a noob to you guys. Actually, I am t...
posted Oct 22 Naymul01 996 points
0 0 1 min.
Problem: -------- Hello All, I am a novice in Java programming. I am learning Java by taking an online class out of my own curiosity. I am solving basic-level problems from many websites. So far, I was doing good. I get stuck as soon as I get a pro...
posted Oct 22 Naymul01 996 points
0 0 1 min.
**Problem:** ======== Hi, I started adopting the Java programming language a few days back. For the time being, I’ve written a java program that should print values from my **StudentDatabase** using an object of it. Inside my **StudentDatabase**, I...
posted Oct 22 Naymul01 996 points