Java
T
point
Home
Python
Java
JavaScript
HTML
SQL
PHP
C#
C++
DS
Aptitude
Reasoning
Selenium
DBMS
C
Android
Interview Q
Content Menu ▼
1
2
3
4
5
6
7
8
9
10
Question 1
:
What will be the output?
1. public class Test3{
2. public void method(){
3. System.out.println("Called"); }
4. public static void main(String[] args){
5. method();
6. } }
Choose one:
1.
Nothing
2.
Compiler error
3.
"Called"
4.
Runtime