473,544 Members | 2,507 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Java Forum

Java programming language (Sun Microsystems) - Ask questions about java programming, OOP, JRE, SDK, Swing, Plugins, Java Virtual Machine(JVM), Java Libraries: Collection, XML Processing, Security, JDBC, JNDI, RMI, CORBA, AWT (GUI) and more.
0
23,018
thread by: JosAH | last post Aug 15 '08 by: JosAH
Greetings, It is strongly advised to download the first two links to your computer. The first link downloads Sun's Java Tutorial which is an almost mandatory read if you want to get started properly. Having the tutorial available locally can be a convenience even if you're offline. The second link contains the API documentation of all the...
2
32,631
thread by: Z E R O | last post 4 Weeks Ago by: BraidenMaynard
I'm in a really fast pace training program and we are covering a lot of material in a relatively short period of time. I've really not had much trouble up until this problem. I had to do one other problem using concurrency and it worked out well but this problem is stumping me a little. The problem is a non-network black jack game with...
0
11,074
thread by: Charles Arthur | last post Mar 30 '24 by: Charles Arthur
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
284
thread by: DonPapotti | last post Nov 19 '23 by: DonPapotti
Hello, good day, I have 2 problems. 1. I can't find the installation path or the option mentioned in this post doesn't appear. https://stackoverflow.com/questions/20718093/eclipse-interface-icons-very-small-on-high-resolution-screen-in-windows-8-1 2. Modifying the eclipse .ini file actually enlarges the icons but deconfigures my entire eclipse....
1
16,431
thread by: aquafina | last post Sep 14 '23 by: Elenamay
Hello, I am writing a client/server application for live video streaming. Could anyone please suggest me a library or framework that eases the work? Thank you,
0
8,791
thread by: tusharbabar | last post Aug 31 '23 by: tusharbabar
Hello friends, I am working on some tasks like reading data in an Excel file and store in a World file but in an Excel file I have mobile number data I tried to read and store it in World but got the wrong data minus in Excel number format like 9976457605 but when I read data I get data like 2147483647 format. We can do the task only using Java...
9
35,527
thread by: robert22 | last post Aug 6 '23 by: Rina0
what is stream in java? can someone help?
0
12,801
thread by: Rina0 | last post Jul 28 '23 by: Rina0
Hello everyone, I recently went through a Java Interview Questions resources and encountered a couple of queries for which I'm seeking answers and suggestions. Query 1: During the interview, I was presented with the following class: java class CricketTeam{ String name; //this is the complete name (inclusive of first and last name)
4
27,209
thread by: HarrySto | last post Jun 27 '23 by: Alpha Teng
I wrote the source code for a new application on IOS, when writing there were no errors, but when I ran the code, an error appeared in this place: var t = readLine()! var s = readLine()! var len_s = s.count var t_lis = Set(t) var c_s = Counter(s) var c_t = Counter(t_lis) var c_res = () var summ = 0 for e in c_s{
4
18,619
thread by: Vikas Rana | last post Mar 20 '23 by: Nikhilesh10
What is the difference between static and dynamic Polymorphism in java?
11
10,700
thread by: Pallavi Kadam | last post Mar 20 '23 by: Riya Bajpai
Tell Me What Is Thread
5
7,851
thread by: usern | last post Mar 20 '23 by: Riya Bajpai
Why String is Immutable in Java?
2
15,356
thread by: radhika00 | last post Mar 13 '23 by: Riya Bajpai
what are packages in java and how do Java Packages improve accessibility and manageability?
9
26,657
thread by: luciferjohn | last post Mar 2 '23 by: Riya Bajpai
I have an “okay” understanding out topics up to basic array rules. Anything after that is making me nervous. What do you guys recommend to learn java? I have a big textbook on it. Should I just crack it open and read page by page? Thank you in advance. I’m trying to excel in my class and want to learn from those who have mastered java.
3
17,454
thread by: PollyR | last post Mar 1 '23 by: Riya Bajpai
And Is Java as good as PHP for web development?
1
13,045
thread by: jesuscortes0 | last post Feb 24 '23 by: junfeng
Hello in my online university center, they gave me this challenge in Java. 1. Declare an Employee class with String attributes for RFC, first name, last name, street address, postal code, and city. This class must include the object type job attribute of the JobPost class. Declare the JobPost class with String attributes for: code and...
3
8,872
thread by: BloomS | last post Feb 1 '23 by: Vanisha
What happens when I run this? public class WhatTheShoot { public static void main(String args){ try { throw null; } catch (Exception e){ System.out.println(e instanceof NullPointerException); System.out.println(e instanceof FileNotFoundException); }
1
7,466
BarryA
thread by: BarryA | last post Jan 27 '23 by: cetpainfotech
I was curious why the class java.lang.String is defined as final in Java when I first learned about it. I couldn't find an answer back then, but check out this post: How to Create a Java String Class Replica. It reminded me of my question. Sure, String gives all the functionality I've ever required, and I've never considered any action that...
4
7,067
thread by: markleo | last post Jan 12 '23 by: NeoPa
demo1.java: import a; import b; import c; import d; demo2.java: import b;
0
4,820
thread by: Dimash Kudaiber | last post Dec 21 '22 by: Dimash Kudaiber
Nowadays, every back-end developer creates APIs, every QA engineer tests APIs, and every front-end developer uses APIs. Our business is becoming more complicated, and the number of APIs has increased enormously in recent years. While working around APIs, the API documentation becomes the developing team’s center. However, no one like to write...
1
9,753
thread by: hala adnan | last post Dec 13 '22 by: dev7060
You have an array on N size with random numbers. Write a multithreaded program that performs the following operations on this array: Thread 1 sorts the even numbers Thread 2 sorts the odd numbers Thread 3 merg the results (even number in the top part of the array).
0
8,583
thread by: Yacine Si Tayeb | last post Nov 2 '22 by: Yacine Si Tayeb
1. Introduction ElasticJob, one of the sub-projects of the Apache ShardingSphere community, is a distributed scheduling solution oriented towards Internet applications and massive tasks. Since ElasticJob 3.0.1 was released, we’ve received a lot of feedback from users on GitHub. After merging the code committed by the contributors, ElasticJob...
1
11,102
xarzu
thread by: xarzu | last post Oct 12 '22 by: dev7060
What is the equivalent project file for a Java project? For example, a C# project file is denoted by the delimiter of .csproj. So what would it be for a Java project? Is it dependent on what IDE I am using for Java? I did some search online about this and it seems to me that the answer to this question is dependent on the IDE. From memory,...
7
30,080
thread by: ganeshp | last post Sep 20 '22 by: AnnoyedAtYou
Code to delete the file is given below: File file = new File(filePath); file.delete(); But this code does not delete the file. Please post your thoughts on this issue. Regards, Ganesh
0
7,108
thread by: RamLakshmanan | last post Sep 3 '22 by: RamLakshmanan
https://i0.wp.com/blog.ycrash.io/wp-content/uploads/2022/03/Performance-overview-rafiki-2.png?w=500&ssl=1 Java developers tend to use ‘java.util.UUID#randomUUID()’ API, to generate a UUID (Universally Unique Identifier) number (i.e., ‘b8bbcbed-ca07-490c-8711-5118ee0af2f9’). Under certain circumstances, using this API can affect your...
1
8,700
thread by: Mother3epic12 | last post Jul 28 '22 by: dev7060
System.out.println("\t\t Quiz Results"); System.out.printf("%s %15s %15s %15s %15s %n", "Student Name", "Quiz1 Grade", "Quiz2 Grade","Difference", "Average"); System.out.println("==========================================================="); I keep getting errors for the first quotation mark on my code for each of my System.out.print...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.