Ask your own question, for FREE!
Computer Science 20 Online
Bearclaws72:

Trying to help some peeps XD

Bearclaws72:

@dude @ThisGirlPretty

dude:

Were here

Bearclaws72:

Im gonan pull up some stuff you can do in bluej for you dude its pretty simple and straight forward honestly

Bearclaws72:

Oh also open a tab with this link

Bearclaws72:

@Ultrilliam What was the site used for compiling? Compilerjava orrrrrr I forgot

Bearclaws72:

Guess you can use this site dude

Bearclaws72:

https://repl.it/languages/java

ThisGirlPretty:

Do ya have to bcreate a account

Bearclaws72:

No

dude:

No?

Bearclaws72:

You shouldnt have to to do what we are doing

ThisGirlPretty:

Huh o.o

Bearclaws72:

Ok dude thats fine Bluej will do most of the saving tho

dude:

oh lol

Bearclaws72:

Plus this is a quick demonstration

Ultrilliam:

https://www.compilejava.net/ but its offline right now for some reason

Bearclaws72:

ah man I was gonna show em this

Ultrilliam:

An alternative is this though https://www.jdoodle.com/online-java-compiler

ThisGirlPretty:

I created a school name XD

Bearclaws72:

Here's something also

Bearclaws72:

Just gimme a second XD gotta find it

Bearclaws72:

Oh also Ultri since your here if I'm wrong during any of this plz point it out XD

Ultrilliam:

I'ma doin physics with my dad behind me

Ultrilliam:

So I can't really look at QC

Bearclaws72:

Well wheneva you can

Bearclaws72:

Ok dude this is the format bluej is supposed to be coded on

ThisGirlPretty:

Your dad is behind you o.o? That's even worse. Ima kidnap you. "Has nick create smoke bomb and throw in the area then kidnaps jay and brings to Jay's bears house"

Bearclaws72:

This is what you need to follow in order for the script to work and do something.

dude:

oh okay

Bearclaws72:

Line(s) <1> <2> <3> <4> <5> <6> <7> <8> <9> <10> <11> <12> <13> <14> Purpose of Statement A blank line. Beginning of the block comment section for the program's heading. Comment explaining purpose of the program. Blank comment creating white space. Comment with the author's first and last name. Comment for the date the program was created. End of block comment section. Class declaration giving the program a name. Curly brace marking the beginning of the class (matches up with Line <14>). Main method establishing where program execution begins. Curly brace marking the beginning of the class (matches up with Line <13>). Print statement to display Hello, Virtual World! on screen. Curly brace marking the end of the main method (matches up with Line <11>). Curly brace marking the end of the class (matches up with Line <9>).

Bearclaws72:

Thats line by line it sorta like a pattern

dude:

Can you just screenshot the code

Bearclaws72:

Mhm was about to get to that XD

Bearclaws72:

This info is fake so dont get any ideas XD well atleast the address is

ThisGirlPretty:

Dang it.

dude:

looool okay, i just see ideas, address

Bearclaws72:

Bearclaws72:

This code should be one hundred percent right format wise

ThisGirlPretty:

BEAR HAS FLVS!

Bearclaws72:

So if you run it you get this

dude:

Where do i type this code in the first place?

ThisGirlPretty:

Brb

Bearclaws72:

Well gimme a sec Ill show yah

dude:

kk TGP

Bearclaws72:

Ok so

Bearclaws72:

delete all the bullcrap on the bluej screen

Bearclaws72:

Like everything

dude:

*deletes app*

ThisGirlPretty:

WAIT I DIDMT DELETE

Bearclaws72:

Wait your in a class right

Bearclaws72:

Tgp did you download the bluej software?

ThisGirlPretty:

No x'D

Bearclaws72:

Well you need to to actually understand this XD

ThisGirlPretty:

On oc? o.o

ThisGirlPretty:

Pc"

Bearclaws72:

Yes I guess you dont need it for tonight but

Bearclaws72:

Try and get it tommorow

ThisGirlPretty:

Will do :P

Bearclaws72:

Ok now dude just follow the format start with line two and dont type anything in line one

dude:

i opened a new project

Bearclaws72:

Ok

dude:

How do you type stuff?

Bearclaws72:

Take a screenshot of what your seeing really quick

dude:

http://prntscr.com/gtf0ns

Bearclaws72:

click new class and give it a name

dude:

java, right?

Bearclaws72:

Yah

Bearclaws72:

brb guys

Bearclaws72:

ok back

dude:

http://prntscr.com/gtf1eu

Bearclaws72:

good now replace it with your info then run it

dude:

it says there was an error

Bearclaws72:

oh wait I know whats wrong

Bearclaws72:

go down one line then } end main method I think

Bearclaws72:

ok on the last println press enter space twice then }

Bearclaws72:

do it like this } }

dude:

two of them?

Bearclaws72:

yes

dude:

How do i run it?

Bearclaws72:

Now we need to go to that website then execute it

dude:

http://prntscr.com/gtf3a4

Bearclaws72:

Wrong site

dude:

http://prntscr.com/gtf3r7

Bearclaws72:

There yah go might wanna space the middle print out more tho

Bearclaws72:

But yah thats all I had for tonight using print you can well print anything you need to

dude:

Oh okay thanks

Bearclaws72:

Np

Bearclaws72:

Did you have questions?

dude:

Well it was fun copying text but i didnt really get it

Bearclaws72:

Ok

dude:

well actually I learned about needing to start and end lines {}

dude:

I wish there were like an interactive version, where you can display what you want to type

Bearclaws72:

Yes this is the layout for println System.out.println(" Bleh "); <


always remeber that

Ultrilliam:

>Says layout SYNTAX YOU FAT OAF sorry had to x'D

Bearclaws72:

Hiya ultri

dude:

\(\color{#0cbb34}{\text{Originally Posted by}}\) @Ultrilliam SYNTAX YOU FAT OAF \(\color{#0cbb34}{\text{End of Quote}}\)

Bearclaws72:

XD SORRY SENPAI

Bearclaws72:

So do you sorta get it Dude?

dude:

Yes mildly

dude:

ohh u attend FLVS?

Bearclaws72:

Its easier to understand when you kinda do your own project and make your own mistakes then going back and being like "I messed up there lemme fix that"

dude:

Omg happy late bday btw! youre 16?

Bearclaws72:

Yes

Bearclaws72:

Just try and create your own thing then look back at this and see if you made a mistake

Bearclaws72:

Ill make sure to teach you what I know as I learn it

dude:

Yea i just did that http://prntscr.com/gtf7be

Bearclaws72:

Good job looks like you fixed the mistake nice

Bearclaws72:

Oh another tip in the code dont use ' <- that floating thing XD

Bearclaws72:

its \n

dude:

The apostrophe?

Bearclaws72:

Yes sorry XD

dude:

LOL

Bearclaws72:

But overall you did good

dude:

Thanks for the crash course!

Bearclaws72:

No problem

Bearclaws72:

Ill leave this question open for your referance

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!