Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Java Basic! Need Help
Index -> Programming, Java -> Java Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Mathush




PostPosted: Tue Feb 17, 2015 7:33 pm   Post subject: Java Basic! Need Help

My teacher assigned me work, and im really new to java.
I need help with this:

Create a program that will print all of the following as shown below:
Your first and last name
your street number and street name
your city/town
your province
your postal code

PLEASE HELP! thanks alot! Very Happy
Sponsor
Sponsor
Sponsor
sponsor
Zren




PostPosted: Tue Feb 17, 2015 7:38 pm   Post subject: RE:Java Basic! Need Help

Teachers usually assign homework based on material you've already learned. Pay more attention in class.

This is your typical Hello World appication.

Java:

public class HelloWorldApp {
    public static void main(String[] args) {
        System.out.println("Hello World!"); // Display the string.
    }
}


The file must be called the same as the class, so in this case, HelloWorldApp.java.
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: