You are viewing our Forum Archives. To view or take place in current topics click here.
~.:Basic Java Guides:.~
Posted:

~.:Basic Java Guides:.~Posted:

Decyfer
  • Resident Elite
Status: Offline
Joined: Apr 04, 201113Year Member
Posts: 203
Reputation Power: 10
Status: Offline
Joined: Apr 04, 201113Year Member
Posts: 203
Reputation Power: 10
[ Register or Signin to view external links. ]


For the Java programmers, this may make it easier to navigate around and find the resources you need.
Use the shortcut Ctrl + F to find what you need, or you can scroll down through the categories and see. If you can't find what you need here, the [Image: search.gif] Search button is your best friend.




What is Java?

Quoting Wikipedia:
Java is a programming language originally developed by James Gosling at Sun Microsystems (which is now a subsidiary of Oracle Corporation) and released in 1995 as a core component of Sun Microsystems' Java platform. The language derives much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities. Java applications are typically compiled to bytecode (class file) that can run on any Java Virtual Machine (JVM) regardless of computer architecture. Java is general-purpose, concurrent, class-based, and object-oriented, and is specifically designed to have as few implementation dependencies as possible. It is intended to let application developers "write once, run anywhere". Java is considered by many as one of the most influential programming languages of the 20th century, and widely used from application software to web application.

There were five primary goals in the creation of the Java language:

It should be "simple, object oriented, and familiar".
It should be "robust and secure".
It should be "architecture neutral and portable".
It should execute with "high performance".
It should be "interpreted, threaded, and dynamic".

Syntax

The syntax of Java is largely derived from C++. Unlike C++, which combines the syntax for structured, generic, and object-oriented programming, Java was built almost exclusively as an object oriented language. All code is written inside a class and everything is an object, with the exception of the intrinsic data types (ordinal and real numbers, boolean values, and characters), which are not classes for performance reasons.

See also

[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]

Official Website:
[ Register or Signin to view external links. ]




Video Lessons:


Lesson Series No. 1


[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]

Lesson Series No. 2 (Intermediate)

[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]

The lesson goes on further, too long to post here. Here is the channel link. [ Register or Signin to view external links. ]
Go to his channel and look for his Java lessons.




Useful Website Links:


[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]



Practice problems



Write a program which will read in three numbers and print the average value of the numbers. Try out the program. Does it produce the answers you expect?
A sample session with the user might look like:
Enter three numbers
5
10
15
The average is 10




Write a program that reads in a person's height in centimeters and converts it to light years. One light year is the distance that light travels in a year. The speed of light is 2.99793e8 meters per second.


This 3rd one is a little harder than the first two.



Write a program that asks the user for an amount of money (a number of cents less than one euro). It should then calculate the smallest number of coins that make up the sum of money. A sample run of the program would be
How many cents (0 - 99): 46
50: 0
20: 2
10: 0
5: 1
2: 0
1: 1



Thanks go to Feargoyle for these



Credits go to all the original authors of each guide.
Source do to flaming, Posted also on 7 other sites keep in mind:
[ Register or Signin to view external links. ]

Thanks,

Decyfer


Last edited by Decyfer ; edited 3 times in total

The following 11 users thanked Decyfer for this useful post:

Erik (04-13-2011), Feargoyle (04-13-2011), Killer_Kontrollers (04-12-2011), SnowysModz (04-11-2011), -BOSS- (04-11-2011), Crackaa4Lifee (04-11-2011), Dedicated (04-11-2011), Forest (04-10-2011), Immortal_Fusion (04-10-2011), TTGxFreeB00T_Fanboy (04-09-2011), SnD (04-06-2011)
#2. Posted:
TTGxFreeB00T_Fanboy
  • TTG Senior
Status: Offline
Joined: Oct 25, 201014Year Member
Posts: 1,712
Reputation Power: 72
Status: Offline
Joined: Oct 25, 201014Year Member
Posts: 1,712
Reputation Power: 72
Thanks dude needed something like this
#3. Posted:
ZSOE
  • V5 Launch
Status: Offline
Joined: Feb 10, 201113Year Member
Posts: 2,258
Reputation Power: 118
Status: Offline
Joined: Feb 10, 201113Year Member
Posts: 2,258
Reputation Power: 118
Thanks man. Really appreciated it
#4. Posted:
U-110
  • TTG Senior
Status: Offline
Joined: Sep 24, 201014Year Member
Posts: 1,231
Reputation Power: 47
Status: Offline
Joined: Sep 24, 201014Year Member
Posts: 1,231
Reputation Power: 47
yeh thanks looks like a sticky to me
#5. Posted:
Decyfer
  • Resident Elite
Status: Offline
Joined: Apr 04, 201113Year Member
Posts: 203
Reputation Power: 10
Status: Offline
Joined: Apr 04, 201113Year Member
Posts: 203
Reputation Power: 10
U-110 wrote yeh thanks looks like a sticky to me
Thanks for not flaming bro appreciated , when i get rep ill rep you
#6. Posted:
ImCballer
  • TTG Senior
Status: Offline
Joined: Mar 28, 201113Year Member
Posts: 1,533
Reputation Power: 74
Status: Offline
Joined: Mar 28, 201113Year Member
Posts: 1,533
Reputation Power: 74
Wonderful Post :]

-CUSTOM
#7. Posted:
TTG_iRaaTeD
  • V5 Launch
Status: Offline
Joined: Aug 06, 201014Year Member
Posts: 3,718
Reputation Power: 187
Status: Offline
Joined: Aug 06, 201014Year Member
Posts: 3,718
Reputation Power: 187
Great post man keep up the good work.
#8. Posted:
Leech
  • TTG Senior
Status: Offline
Joined: Jul 08, 201014Year Member
Posts: 1,143
Reputation Power: 57
Status: Offline
Joined: Jul 08, 201014Year Member
Posts: 1,143
Reputation Power: 57
Another great post!
Keep up the good work.
#9. Posted:
XeX_LobbieZ
  • TTG Senior
Status: Offline
Joined: Mar 02, 201113Year Member
Posts: 1,222
Reputation Power: 96
Status: Offline
Joined: Mar 02, 201113Year Member
Posts: 1,222
Reputation Power: 96
great pst, i think you should get sticked.
#10. Posted:
Derp
  • TTG Senior
Status: Offline
Joined: Jan 24, 201014Year Member
Posts: 1,478
Reputation Power: 106
Status: Offline
Joined: Jan 24, 201014Year Member
Posts: 1,478
Reputation Power: 106
*comment removed*

~Derp


Last edited by Derp ; edited 1 time in total
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.