Tag: programming languages
Questions Related to programming languages
-
Alpha a = x;
-
Foo f= (Delta)x;
-
Foo f= (Alpha)x;
-
Beta b = (Beta)(Alpha)x;
-
- java -ea -da:base.firstLevelDirectory.secLevelDirectory.FileTwo
-
- java -ea:base.firstLevelDirectory.secLevelDirectory.FileTwo -da
-
- java -ea:base... -da:base.firstLevelDirectory.secLevelDirectory...
-
- java -enableassertions -disableassertions:base.FileTwo
-
- The answer is 0
-
- The answer is 1
-
- The answer is 2
-
- The answer is 3
-
- The answer is 4
-
- Use of an index
-
- Lack of duplicates
-
- Use of non-unique keys
-
- Use of unique keys
-
for( Color c : Color.values())
-
for( Color c = RED; c <= BLUE; c++)
-
for( Color c; c.hasNext() ; c.next())
-
for( Color c = Color[0]; c <= Color[2]; c++)
-
for( Color c = Color.RED; c <= Color.BLUE; c++)
-
- Its: 1
-
- Its: 0
-
- Its: true
-
4 Its: false
-
- Its: 0.0
-
- sleep()
-
- yield()
-
- run()
-
- join()
-
Color skyColor = BLUE;
-
Color treeColor = Color.GREEN;
-
Color purple = new Color( 0xff00ff);
-
if( RED.getRGB() < BLUE.getRGB() ) {}
-
Color purple = Color.BLUE + Color.RED;
-
if( Color.RED.ordinal() < Color.BLUE.ordinal() ) {}
-
1From a int to a short
-
2From a char to an int
-
3From a short to an int
-
4From a double to a float
-
5From a float to a long