Yahoo Clever wird am 4. Mai 2021 (Eastern Time, Zeitzone US-Ostküste) eingestellt. Ab dem 20. April 2021 (Eastern Time) ist die Website von Yahoo Clever nur noch im reinen Lesemodus verfügbar. Andere Yahoo Produkte oder Dienste oder Ihr Yahoo Account sind von diesen Änderungen nicht betroffen. Auf dieser Hilfeseite finden Sie weitere Informationen zur Einstellung von Yahoo Clever und dazu, wie Sie Ihre Daten herunterladen.

Lv 2991 points

sende

Favorisierte Antworten20%
Antworten138
  • If a girl doesn't call you first does it mean she is not interested in you?

    There's that one girl that I went out with for 3 times, but what keeps bugging me is that she has never called me first or wrote to me on fb or anything. But she always replies pretty fast and agrees to go out. I haven't seen her or talked to her for over 2 weeks, since she was out of town for the Christmas brake, shall I give her a call or shall I let her go?

    4 AntwortenSingles & Datingvor 8 Jahren
  • Void invalid type Error in Java.?

    I'm writing a program in Java that would parse and XML file, save it a database table and then simply print the lines out. I'm a totaly new to Java so my code could seem a little stupid.

    I am not sure if the program will work. when I was declearing a new method (addPoint) I kept receivng error saying that void is invalid type. I also can;t figure our how to move that method out from the main class. Any ideas how to mage this programm work?

    Here's the code:

    package db;

    import java.io.File;

    import java.sql.DriverManager;

    import org.w3c.dom.*;

    import java.sql.*;

    import javax.xml.parsers.DocumentBuilderFactory;

    import javax.xml.parsers.DocumentBuilder;

    import org.xml.sax.SAXException;

    import org.xml.sax.SAXParseException;

    public class db{

    public static void main (String argv []){

    try {

    double x; double y;

    DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();

    DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();

    Document doc = docBuilder.parse (new File("book.xml"));

    // normalize text representation

    doc.getDocumentElement ().normalize ();

    System.out.println ("Root element of the doc is " +

    doc.getDocumentElement().getNodeName());

    /////////////////////////////////////////////////////

    Element root = doc.getDocumentElement();

    NodeList points = root.getElementsByTagName("points");

    points.getLength();

    Node pointNode = points.item(0);

    035 Element pointElement = (Element)pointNode;

    036 // System.out.print(pointElement.getAttribute("x"));

    037

    038 class PointElement extends db{

    039 double getX()

    040 {

    041 return Double.valueOf("x");

    042 }

    043

    044

    }

    // java.lang.Object.toString();

    051 //import java.sql.*;

    052 java.lang.Object.class.toString();

    053 Class.forName("org.postgresql.JDBC");

    054 Connection conn = DriverManager.getConnection("jdbc:postgresql:adb.db");

    055 Statement stmt = conn.createStatement();

    056 stmt.executeUpdate("CREATE TABLE IF NOT EXISTS Point (x float, y float)");

    057 stmt.executeUpdate("INSERT INTO Point (+x+ , +y+) ");

    058

    059 public void addPoint((double x , double y) )

    060 {

    061

    062

    063 stmt.executeUpdate("INSERT INTO Point ("+x+" ,"+ y+") ");

    064 }

    065

    066

    067

    068 ResultSet rs = stmt.executeQuery("SELECT * FROM Point");

    069

    070 while (rs.next())

    071 {

    072 x = rs.getDouble("x");

    073 y = rs.getDouble("y");

    074

    075 }

    076

    077 rs.close();

    078 stmt.close();

    079

    080

    081

    082 }catch (SAXParseException err) {

    083 System.out.println ("** Parsing error" + ", line "

    084 + err.getLineNumber () + ", uri " + err.getSystemId ());

    085 System.out.println(" " + err.getMessage ());

    086

    087 }catch (SAXException e) {

    088 Exception x = e.getException ();

    089 ((x == null) ? e : x).printStackTrace ();

    090

    091 }catch (Throwable t) {

    092 t.printStackTrace ();

    093 }

    094 //System.exit (0);

    095

    096 }

    097

    098 // private static void addPoints(double x, double y) {

    099 // TODO Auto-generated method stub

    100

    101 }//

    1 AntwortProgramming & Designvor 9 Jahren
  • Where can I buy iPhones 4s in bulk?

    I'm looking to buy between like 5 to 10 unlocked iPhones. Is there a place where I can get a discount? I've seen lots of little "firms" that would sell iphones pretty cheaply, but most of them are scams! Maybe you know a legitimate distributor , or a genuine seller? Has anyone ever tried ordering iPhones from China?

    7 AntwortenOther - Business & Financevor 9 Jahren
  • What happened to Jesus Christ after the resurection?

    Accorging to ancient texts and historic evidence what is it that actually took place?

    Please no *Jesus was not real answers*

    17 AntwortenReligion & Spiritualityvor 9 Jahren
  • Why would somebody want to become a Catholic priest?

    Becoming a catholic priest means that you will never have a family and will do the same thing(for instance celebrating a mass) over and over for the rest of your life! Isn't that a frightening perspective?

    20 AntwortenReligion & Spiritualityvor 9 Jahren
  • How many Irish go to a Mass every Sunday?

    How many Irish attend church every once in a while?

    4 AntwortenReligion & Spiritualityvor 9 Jahren
  • What is the best way to cure Constipation?

    Is there anything one should eat or do or drink to make Constipation go away?

    7 AntwortenAlternative Medicinevor 9 Jahren
  • What are SLBC and PB?

    Does SLBC involve tranfering money from one account to another? what about PB?

    Are there any scams involving SLBC and PB?

    1 AntwortInsurancevor 10 Jahren
  • How come gold can be 24 karrats pure and not 999% fine?

    If 24 karats is the highest purity possible then how come 24 karats 96+ gold can be less valuable than 24 karats 999 gold?

    1 AntwortOther - Business & Financevor 10 Jahren
  • Who sells gold? (except banks)?

    Miners mine gold. Then the gold is refined and sold. So what oranisations sell gold?

    P.S. I'm considering a rather serious gold purchase and I need find gold at a discunt.

    I know they mine a lot of gold in South Africa but I don't know whom I should contact.

    4 AntwortenCorporationsvor 10 Jahren
  • How/Where to buy gold in South Africa?

    How/Where to buy gold in South Africa?

    Would it be slightly cheper to buy gold from an SA bank/mine/refinery?

    And how do I find the gold dealers/sellers?

    (I need to find gold in bullion bars)

    3 AntwortenInvestingvor 10 Jahren
  • How/Where to buy gold in South Africa?

    Would it be slightly cheper to buy gold from an SA bank/mine/refinery?

    And how do I find the gold dealers/sellers?

    1 AntwortOther - Business & Financevor 10 Jahren
  • What are the reasons Al Quaida attacks America and hates the western world?

    Bush's explanation "they hate us for our freedom" doesn't make much sense to me.

    10 AntwortenOther - Society & Culturevor 10 Jahren
  • Why is Rosary so important to Catholics?

    and why do you need to pray the Rosary? how is simply praying different from praying the Rosary?

    17 AntwortenReligion & Spiritualityvor 10 Jahren
  • Is it possible to buy gold from an actuall gold miners?

    I know one can buy (and keep) gold in banks. But is it possible to buy it slightly cheaper form an organization that mines and melts gold? and if yes could you give me a few links to their web sites...

    4 AntwortenInvestingvor 10 Jahren
  • Does donating blood benefit your health?

    I know a lot of sick people need healthy blood but can it harm a donor's health?

    and also how is donating blood different from donating plasm?

    2 AntwortenMedicinevor 10 Jahren
  • Where is the best place to buy a kilo bullion of gold?

    If I wanted to buy much and cheap which country would be the best?

    I'd also like to know if it is still possible to find gold price under 50$ per gram?

    3 AntwortenOther - Business & Financevor 10 Jahren
  • how to convert c++ code to assembly code?

    Is it possible in VS?

    1 AntwortProgramming & Designvor 1 Jahrzehnt
  • Are Haeckel embryo drawings accurate?

    and if they are not why are they still in biology textbooks?

    4 AntwortenReligion & Spiritualityvor 1 Jahrzehnt