Browse tutorials by Category - Compile Error
Illegal start of type (Command Line)
Time: 1:42
|
|
| Average: 152 ratings | Your Rating: |
| Categories: Compile Error Command Line | |
| Description: click for more...
A program that generates “illegal start of type” and “ |
|
Incompatible Types (Command Line)
Time: 1:33
|
|
| Average: 182 ratings | Your Rating: |
| Categories: Conditional Compile Error Loop Command Line | |
| Description: click for more...
What to do when you see an incompatible types compiler error in a loop condition or in the condition of an if statement. Shows the effect of using equals (=) instead of equalsequals (==), causing an assignment when you intend to have a equality comparison. |
|
Incompatible Types (Eclipse)
Time: 1:05
|
|
| Average: 190 ratings | Your Rating: |
| Categories: Conditional Compile Error Loop Eclipse | |
| Description: click for more...
What to do when you see an incompatible types compiler error in a loop condition or in the condition of an if statement. Shows the effect of using equals (=) instead of equalsequals (==), causing an assignment when you intend to have a equality comparison. |
|
Missing Semicolon ; (BlueJ)
Time: 5:28
|
|
| Average: 160 ratings | Your Rating: |
| Categories: Compile Error Logic Error BlueJ | |
| Description: click for more...
Small method demonstrating syntax error caused by a missing semi-colon. |
|
Not a Statement, Cannot Find Symbol (Command Line)
Time: 2:28
|
|
| Average: 140 ratings | Your Rating: |
| Categories: Compile Error Command Line | |
| Description: click for more...
Demonstrates 3 compiler errors; “not a statement”, “cannot find symbol” and “cannot be applied.” |
|
Object Comparison (Eclipse)
Time: 4:15
|
|
| Average: 154 ratings | Your Rating: |
| Categories: Conditional Compile Error Eclipse | |
| Description: click for more...
Demonstrates the use of .equals (dot equals) to compare objects rather than == (Equals equals). The same equality comparison that works for primitives does not work for object types. |
|
Semi-colon expected (BlueJ)
Time: 1:53
|
|
| Average: 162 ratings | Your Rating: |
| Categories: Compile Error BlueJ | |
| Description: click for more...
This video demonstrates how to deal with a compiler error that does not seem to make sense. BlueJ shows a semi-colon expected error, but on a line number with a semi-colon. |
|
Static Context (Command Line)
Time: 9:02
|
|
| Average: 155 ratings | Your Rating: |
| Categories: Compile Error Logic Error Classes Command Line | |
| Description: click for more...
The compiler generates a “non-static method X cannot be referenced from a static context” message. Shows what happens when a non-static method is called form the static main method. |
|
Unreported Exception (Command Line)
Time: 3:20
|
|
| Average: 140 ratings | Your Rating: |
| Categories: Compile Error Logic Error Command Line | |
| Description: click for more...
The compiler reports an “unsupported exception” and that it “must be caught or declared to be thrown.” |
|