chevron_left

Recent posts tagged java

0 0 2 min.
Problem : --------- I want to convert the Milliseconds in the format of a number of years months weeks and days. e.g. *10 months, 4 weeks, and 5 days* I have already tried in a few ways but it is becoming as 7 days and 0 weeks. Please find below ...
posted Oct 27 Alecxe01 807 points
0 0 1 min.
**Problem:** ======== I am a windows seven user and recently I’ve installed JDK to learn java but I am getting an error. The message is something like: Missing server JVM at `**C:\Program Files\Java\jre7\bin\server\jvm­­.dll'** please install or use...
posted Oct 26 Naymul01 996 points
0 0 1 min.
**Problem:** ======== So, guys, I am learning to handle the java scanner class and taking input from the user. Let’s come to my point quickly. I was thinking to write a java program that asking the user for input until they give a valid response. I ...
posted Oct 26 Naymul01 996 points
0 0 1 min.
**Problem:** ======== Hello Kodlogs, I am a novice Java programmer. I just wrote my very first program a few minutes earlier. Now I want to write a program that can add two different integer numbers for me. I guess I done my coding well but it says...
posted Oct 26 Naymul01 996 points
0 0 2 min.
**Problem:** ======== I am struggling with a problem for a few hours back. I know how to sort an array by using methods. I was looking for another way (perhaps a loop) to do it more efficiently. Let me put my question this way, how to sort an array ...
posted Oct 26 Naymul01 996 points
0 0 1 min.
**Problem:** ======== Hello good soul, I am a student of basic java programming. I was solving beginner-level problems from there. Right now I got a problem that says, write a program that squares an integer and prints the result. Well, I am not o...
posted Oct 26 Naymul01 996 points
0 0 3 min.
**Problem:** ======== I am assuming a bunch of helpful souls is roaming here, in Kodlogs. I am trying to figure out the abstract method in Java and wrote a simple program on it. Unfortunately, my program throws back an error and says, **AbstractCla...
posted Oct 26 Naymul01 996 points
0 0 1 min.
**Problem:** ======== Hello Kodlogs, I am feeling good to find a helpful website like this. So many nice, and friendly people are here. Let me come to the point and put my problem here. I am new to java programming and trying to learn new things e...
posted Oct 25 Naymul01 996 points
0 0 1 min.
**Problem:** ======== Hello I am a new learner of programming. I’ve started with the Java programming language. I am learning step by step. I stuck somewhere in an *if-else* statement. I’ve written a basic program for practice purposes but it’s not...
posted Oct 25 Naymul01 996 points
0 0 2 min.
**Problem:** ======== Hello java programmers, Myself is a new student in java. I am practicing basic java methods and objects. Finding beginner-level problems and trying to solve them. I recently got a line that says, all local variables in a metho...
posted Oct 25 Naymul01 996 points
0 0 1 min.
Problem: Are the all data type has default values in Java? I am just wondering what is the default value of an integer if I write: int a; boolean b; System.out.println(a); System.out.println(b); All data fields in an object have def...
posted Oct 25 Naymul01 996 points
0 0 1 min.
**Problem:** ======== I have a very basic question being a novice. It might be silly to you but I really want to know the fact. Let’s say you have a java program. *Can you have two classes in one java file*? What is the reason behind it? Thanks fo...
posted Oct 25 Naymul01 996 points
0 0 2 min.
**Problem:** ======== Hello Kodlogs, I have a simple java code that I wrote a few minutes back I was trying to compare numbers using methods. The program throws the error again and again: **this method must return a result of type int.** I couldn’...
posted Oct 25 Naymul01 996 points
0 0 1 min.
**Problem:** ======== “*This method must return a result of type boolean*” What does it mean? I have a sample java program but I can’t run my program due to the above error. Once I try to run the program it gives back the error. Please find my code ...
posted Oct 25 Naymul01 996 points
0 0 2 min.
**Problem:** ======== Hello, Kodlogs, I am a novice in java. I am trying to catch up on things in the Java programming language. Thus I write my very first program and try to run it. But the problem comes when I run my program. It is not giving an...
posted Oct 25 Naymul01 996 points
0 0 2 min.
**Problem:** ======== I'm taking an online Java programming class (I'm a beginner) and I cannot figure how to correctly complete the code. I've already written what I think is to be included, however, I'm missing something that would make the code w...
posted Oct 25 Naymul01 996 points
0 0 1 min.
**Problem :** ========= I have got an assignment from my online java class and doing the assignment and can't quite figure out what I'm doing wrong. I have to write a program that finds **the sum of all squares between 1 and 100**. As part of the as...
posted Oct 24 Naymul01 996 points
0 0 1 min.
Problem: Hello Kodlogs, I have got a question from my fellow (*java learner)* friend and the question is: **`find the largest number in an array java`** I know about the array and I can print all the values sequentially. Moreover, I can add two d...
posted Oct 24 Naymul01 996 points
0 0 2 min.
**Problem:** ======== I’ve completed my basic java course yesterday. My instructor provided me with a problem to solve as an assignment for the final test. The problem is to make a tic tac toe java code using a **2d array**. I know how to use a **2d...
posted Oct 24 Naymul01 996 points
0 0 1 min.
**Problem:** Hello Kodlogs, I find this website very helpful besides the *StackOverflow*. You guys are really awesome and friendly. I want to know from you guys, how to pass an array to a method? Also what happens when *an array is passed to a metho...
posted Oct 24 Naymul01 996 points