|
by: the one |
last post by:
Hello. I have two errors that I have been unable to resolve. Any
suggestions are greatly appreciated.
We are to create an abstract class called Auto which has two
subclasses Sport and Luxury. Sport has two additional subclasses
called fourCyl and EightCyl. I am attempting to add these cars to my
garage.java. My add function is as follows:
I am passing to it an object of Luxury
|
by: Alligator |
last post by:
And more specifically what is the difference between an InputStream
and a BufferedInputStream?
When should I use one and when should I use the other?
And why is there besides a BufferedInputStream also a Buffered Reader?
Should one use ?? :
InputStreamReader r = new InputStreamReader( blabla.getInputStream());
or
|
by: dmvsatyakumar |
last post by:
I Have a file name.txt.
Below is the format of names.txt.
1 SATYA;
2 KUMAR;
3 MOHAN;
4 Venkat;
In my java code i get an integer(say 3).
With that integer(3) i should pick the corresponding name from the names.txt and display on the screen.
|
by: JavaStudent07 |
last post by:
I had an assignment, on the command prompt, enter a filename of a previously formed program and print it out with numbered lines
IE*
1 public *********
2 {
3 Code
4 }
ETC.
|
by: kaleeswaran |
last post by:
what is difference between -BufferedReader and InputStreamReader..
which one is efficent?..
|
|
by: crystal2005 |
last post by:
Hello guys, I'm a beginner in Java application programming. I started to write a Java application in which link to MS Access database.
I encountered a problem in deletion function. E.g. I would like to delete one record in database, it always shows "record not found" in my program, even if the data has been deleted.
I tried to used function for each choices. But the compiler showed that we can't used function in static void. Is there...
|
by: maas |
last post by:
Hello
I have a problem when coding the statement
stmt.execute("insert into Member values ("+mname+" ,"+mail+","+tel+")");
where mname, mail,tel are variables
which the user inputs them and stored in variables and then i want them to be stored in MS Access, everything is done successfully until it reached the previous statement
Here is the code
try {
|
by: maas |
last post by:
hello
i have a problem in the do while loop
where the program will ask the user to enter yes and do an iteration, nut in my example it did not do??
here is the code
import java.sql.*;
import java.io.*;
public class Project3A {
|
by: Asylus |
last post by:
Thank you in advance for any help you may be able to provide.
I am trying to create a file using DataOutputStream. I'm using the following code to write the file:
public static void rewriteFile(String artistAlbum) throws IOException
{
System.out.println("Writing file: " + dataB);
DataOutputStream outputStream = new DataOutputStream(new FileOutputStream(dataB));
FileOutputStream midman = new FileOutputStream(dataB);
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|