What is Java (in regard to Computer Science) ?
What is an assignment statement ?
What will be the value of “num” after the following statements?
int num;
num = (5+4);
num = num / 9;
num = 12;
If you want your conditional to depend on two conditions BOTH being true, what is the proper notation to put between the two Boolean statements ?
What is the result of compiling and running the following code?
class PrintTest{
public static void main(String[] args) {
double d=222.4578;
System.out.printf(“% .2f”,d);
}
}
What is the result of compiling and running the following code, assuming that the file bb.txt does not exist?
class WriterTest{
public static void main(String[] args) throws IOException{
Writer w=new BufferedWriter(new FileWriter(“bb.txt”)); // Line1
w.write(1); // Line2
w.close();
}
}
1. A value must always be assigned to String object when it is created, and cannot be modified later.
What is the Java development environment?
When programming in Java, which of the following must you keep in mind?
What's the extension for a compiled Java file?
What's the common term for an error within a computer program's code that prevents it from functioning properly?
What's another name for an execution error?