New User Special Price Expires in

Let's log you in.

Sign in with Facebook


Don't have a StudySoup account? Create one here!


Create a StudySoup account

Be part of our community, it's free to join!

Sign up with Facebook


Create your account
By creating an account you agree to StudySoup's terms and conditions and privacy policy

Already have a StudySoup account? Login here


by: Alayna Veum
Alayna Veum

GPA 3.81

John Stasko

Almost Ready


These notes were just uploaded, and will be ready to view shortly.

Purchase these notes here, or revisit this page.

Either way, we'll remind you when they're ready :)

Preview These Notes for FREE

Get a free preview of these Notes, just enter your email below.

Unlock Preview
Unlock Preview

Preview these materials now for free

Why put in your email? Get access to more of this material and other relevant free materials for your school

View Preview

About this Document

John Stasko
Class Notes
25 ?




Popular in Course

Popular in ComputerScienence

This 0 page Class Notes was uploaded by Alayna Veum on Monday November 2, 2015. The Class Notes belongs to CS 1331 at Georgia Institute of Technology - Main Campus taught by John Stasko in Fall. Since its upload, it has received 107 views. For similar materials see /class/234084/cs-1331-georgia-institute-of-technology-main-campus in ComputerScienence at Georgia Institute of Technology - Main Campus.


Reviews for Intro


Report this Material


What is Karma?


Karma is the currency of StudySoup.

You can buy or earn more Karma at anytime and redeem it for class notes, study guides, flashcards, and more!

Date Created: 11/02/15
Types byteltshortltintltlonglt oatltdouble char boolean int i 13 Legal equal to 0 int i 130 Not legal 30 is a double double cannot t in an int oat f 1 int 1 is promoted up to a oat public class Demo public static void mainString args int a 39a Systemoutprintlna Outputs 97 ASCII value for 39a not ampamp and H or trueampampfalselltrueampampfalse returns false Writing an Applet Practice Test Question 2 import javaXswing import javaawt public class MyApplet extends JApplet public void paintGraphics g superpaintg int X getWidth4 Makes a square half the size of the applet int y getHeight4 gsetColorColorblue gfillRectXygetWidth2getHeight2 gsetColorColorred Inscribes a circle inside the square gfillOvalXygetWidth2getHeight2 gsetColorColorblack Writes name on applet gdrawStringquotCameronquot getWidth2 getHeight8 Color c new Color5050100 Make a custom color leClConverterInpuUquuhNdPOZDltt7l02010 112956 AM HTML to Import Applet lthtmlgt ltb0dygt ltapplet code quotMyAppletclassquot width quot500quot height quot500quotgt ltappletgt ltbodygt lthtmlgt import javautilScanner public class Scanner public static void mainString args Scanner scan new ScannerSystemin SystemoutprintquotInput a number quot int a scanneXtInt SystemoutprintquotInput a number quot int b scannextInt SystemoutprintlnquotThe sume is quot ab How to print every word on a different line String s quotThis is a sentencequot Scanner scan new Scanners whilescanhasNeXt SystemoutprintlnscanneXt Scanner scan new ScannerSystemin String s scanneXtLine Systemoutprintlns int lslength SystemoutprintlnscharAtl1 substringl 11 import javautilRandom Random rand new Random Get a random number between 0 and 5 int i randneXtInt6 06 43 l mod 450 4 random number between 14 and 34 leClConveIteIInpuUquuhNdPOZDltt7102010 112956 AM Random rand new Random int i randneXtInt31 14 for int i 5 igt0 i forintj ijgt0j Systemoutprintg39 end inner for loop Systemoutprintln end outer for loop int month 4 switch month case 2 Systemoutprintlnquot28 daysquot case 11 Systemoutprintlnquot31 daysquot reak default SystemoutprintlnquotInvalid mont quot end switch import javautilScanner import javalang public class Froogle public static void mainString args int X Scanner scan new ScannerSystemin X scanneXtDouble double y Mathabsx1X1 Systemoutprintlny SystemoutprintlnMathpow25 leClConverterInpuUquuhNdPOZDltt7102010 112956 AM


Buy Material

Are you sure you want to buy this material for

25 Karma

Buy Material

BOOM! Enjoy Your Free Notes!

We've added these Notes to your profile, click here to view them now.


You're already Subscribed!

Looks like you've already subscribed to StudySoup, you won't need to purchase another subscription to get this material. To access this material simply click 'View Full Document'

Why people love StudySoup

Jim McGreen Ohio University

"Knowing I can count on the Elite Notetaker in my class allows me to focus on what the professor is saying instead of just scribbling notes the whole time and falling behind."

Kyle Maynard Purdue

"When you're taking detailed notes and trying to help everyone else out in the class, it really helps you learn and understand the I made $280 on my first study guide!"

Bentley McCaw University of Florida

"I was shooting for a perfect 4.0 GPA this semester. Having StudySoup as a study aid was critical to helping me achieve my goal...and I nailed it!"

Parker Thompson 500 Startups

"It's a great way for students to improve their educational experience and it seemed like a product that everybody wants, so all the people participating are winning."

Become an Elite Notetaker and start selling your notes online!

Refund Policy


All subscriptions to StudySoup are paid in full at the time of subscribing. To change your credit card information or to cancel your subscription, go to "Edit Settings". All credit card information will be available there. If you should decide to cancel your subscription, it will continue to be valid until the next payment period, as all payments for the current period were made in advance. For special circumstances, please email


StudySoup has more than 1 million course-specific study resources to help students study smarter. If you’re having trouble finding what you’re looking for, our customer support team can help you find what you need! Feel free to contact them here:

Recurring Subscriptions: If you have canceled your recurring subscription on the day of renewal and have not downloaded any documents, you may request a refund by submitting an email to

Satisfaction Guarantee: If you’re not satisfied with your subscription, you can contact us for further help. Contact must be made within 3 business days of your subscription purchase and your refund request will be subject for review.

Please Note: Refunds can never be provided more than 30 days after the initial purchase date regardless of your activity on the site.