Quiz
Java Class and Object
This quiz has a time limit, so it opens in the usual player.
Questions in this quiz (1)
1Predict the output?
package main;
class T {
int t = 20;
}
class Main {
public static void main(String args[]) {
T t1 = new T();
System.out.println(t1.t);
}
}- A0
- Bgarbage value
- Ccompiler error
- Druntime error
Information
- Description
- 2 Java Foundation Quiz on Java Class and Object, created by Duong Phan Hoai on 26/02/2020.
- Author
- Duong Phan Hoai
- Language
- English
- Views
- 5
- History
- Created on 26 Feb 2020 · updated on 26 Feb 2020
- Tags
- Rating
- No ratings yet Rate this quiz