473,544 Members | 1,802 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.
3
4,470
thread by: Nemish | last post Oct 2 '20 by: dev7060
class N2 { public static void main(String args){ int a,b,c; int sum=0; for(int i=0;i<=args.length;i++) {
1
2,145
thread by: marou | last post Dec 11 '19 by: dev7060
i want to forward from my servlet to a jsp page , i created my jsp page (SaisieProduit.jsp) under the WebContent and surely i created my web.xml (it implements my servlet class correctly because i have another jsp page that works correctly by using the same servlet), in another jsp page (header.jsp) i created a link (Saisie.do).,,my question is...
1
1,580
thread by: Sophia195 | last post Dec 11 '19 by: dev7060
Hi guys I have been asked to program; Allow the user to enter a number of race results (A minimum of two participants can run in a race and a maximum of 7). Process the results by • Allowing a user to enter a race participants name • Allowing a user to enter a race participants completion time (a value between 0.00 & 10.00 mins.) Is the...
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.
2
4,232
thread by: leonardsores | last post Dec 3 '20 by: Ishan Shah
Hi i am currently Java student and i am a bit confused, i have to create class for Cell Phone, so far so good i created class and i need to show info of three cellphone i created, it is good to, i created it and even create a public void showInfo() in order to show the info of each object now the next step i need to do is this: Display only the...
4
3,184
thread by: gstry | last post Jul 22 '20 by: hocan90
array not created like in C++ int a; a=5; Main.java:13: error:']' expected int a; Main.java:13: error:illegal start of expression int a: Why pool used for string? why memory is not used like other objects?
1
2,012
thread by: paigemccand | last post Feb 7 '20 by: dev7060
Hello, my homework for computer class says "• In a biology experiment, Cory finds that a sample of microorganisms doubles in population every 12 hours. He wants to know how many hours it will take to reach a certain microorganism population level if he starts with 1000 organisms each time. • WAM (write a method) to receive an integer N...
1
2,107
thread by: Xillez | last post Feb 26 '20 by: dev7060
Hey again! I've made 2 separate systems, an ECS and a Collision detection system for a game. I want an event handling system for handling the communication between components and game management systems (collision detection, ECS and so on). After a bit of prototyping and thinking I've come to two separate ways I can handle this and I'm just...
1
1,907
thread by: brian emomugr | last post Feb 27 '20 by: dev7060
the program should result to either happy mood given by smile face or sad mood given by sad face
1
2,688
thread by: JluckyStrike | last post Apr 3 '20 by: Sherin
There is a network of tracks (list), tracks are of two types - standard (with one start and one end point) and with a fork ( one start and two end points). These points are called nodes. It is known that each track can only be connected to one other track. Thus, each node is connected to at least one other node, with a maximum of three nodes (if...
4
2,407
thread by: robert22 | last post Feb 1 '21 by: Ishan Shah
I am getting the error: Exception in thread "main" java.lang.OutOfMemoryError: Java heap space.
9
35,527
thread by: robert22 | last post Aug 6 '23 by: Rina0
what is stream in java? can someone help?
0
2,209
thread by: chenjiankun18 | last post Mar 27 '20 by: chenjiankun18
bet365 websocket uid change every time. I want to connect to bet365 websocket. How to do it? wss://pshudws.365pushodds.com/zap/?uid=40968239830588122
0
1,775
thread by: LeoDurf | last post May 1 '20 by: LeoDurf
package main; import java.awt.event.*; import javax.swing.*; import java.awt.*; /** * @author 16023 * */
1
1,932
thread by: LeoDurf | last post May 4 '20 by: dev7060
I have changed my code since the last question. I get a dialog box and ShowDialogMessage popups. I have a loop that runs to take user input and does a calculation. While running the loop, It di=oesn't detect the keypressed or keyReleased , however if I run the program without the loop, it detects the keypressed and keyReleased and ends the program...
2
3,555
thread by: adarsh28 | last post Jan 21 '21 by: Ishan Shah
write a program using a class with the following specifications class name :caseconvert data members : string str members functions - void getstr() : to accept a string
2
3,072
thread by: himal | last post May 22 '20 by: Ishan Shah
please help me.... 1.Why doesn't this run? 2.When the user makes the first input and asks if the data needs to be inserted again, why doesn't it run again? 3.How to make array size dynamic data types?
3
4,147
thread by: ikrami2000 | last post Mar 11 '21 by: Ishan Shah
I have install Epson SDK to android, and added the below code" Printer printer = null; try { printer = new Printer(Printer.TM_M30, Printer.MODEL_ANK, this); } catch (Epos2Exception e) { //Displays error messages }
1
2,017
thread by: yugioh | last post Jul 3 '20 by: dev7060
the problem: Each trade has a value that indicates the transaction amount in dollars and a text indicating if the client´s sector is "Public" or "Private". They implement the following interface: interface ITrade { double Value { get; } string ClientSector { get; } }
5
7,851
thread by: usern | last post Mar 20 '23 by: Riya Bajpai
Why String is Immutable in Java?
2
4,401
thread by: beluga | last post Oct 10 '20 by: SwissProgrammer
Add three (3) Java Methods. Name them Employee, FullTimeEmployee, and PartTimeEmployee. Write a simple payroll program that will display employee’s information. Refer to the Sample Output below. This should be the sequence of the program upon execution: a. Ask the user to input the name of the employee. Use the employee method here. b....
4
2,684
thread by: strugglingalot | last post Oct 13 '20 by: SwissProgrammer
i am currently trying to currently figure out how to work with visual studio . in that i am trying to make to squares using the draw function but it keeps on showing that im lacking the head and body tag even though i have wrote it .
3
5,087
thread by: LauraNutt | last post May 6 '21 by: scode
How do i create and validate Json Web Token in Deno?
1
3,041
thread by: Rfpv26 | last post Oct 24 '20 by: dev7060
Create a simple Payroll System which is: Allows you to input a number of days work which have 560.00 pesos per 8 hours work. An automatic deduction of: Philhealth-100.00, Pagibig-200.00, SSS-550.00 and a loan amortization of 2,000.00 per month. Your program will display the following: Basic Pay, Total Deduction and the Netpay of the employee.
1
2,622
thread by: sahilmobiloitte | last post Oct 29 '20 by: dev7060
I want to know, how we can write code for snippet. snippet is a feature of search engine result page

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.