Tag: programming languages
Questions Related to programming languages
-
Can have only one constructor
-
a.Cannot have a constructor
-
Can have more than one constructor
-
May or May not have constructors
-
Array Object
-
Neither Object
-
String Objec
-
Both of the Objects
-
More than one Object
-
No Objects
-
Only One Objects.
-
Two Objects.
-
X is a method Signature and Y is a method Header
-
Both X and Y is a method Header
-
X is a method Header and Y is a method Signature
-
Both X and Y is a method Signature
-
Its non-static members
-
Static members of the enclosing class
-
Its Static members
-
Non-Static members of the enclosing class
-
Reading data through key board
-
Using system properties and environment variables
-
Running non-java programs from within a java application.
-
All of the Above
-
None of the Above
-
They can be applied to both data & methods
-
They must precede a class's data variables or methods
-
They can follow a class's data variables or methods
-
They can appear in any order
-
They must be applied to data variables first and then to methods
-
Public
-
Private
-
Abstract
-
Final
-
Protected
-
Compile failure
-
sucessfully compiled, but through exception in run time
-
It runs sucessfuly and prints "without the main method"
-
It runs sucessfuly, but No output.
-
compiletime error at lines 3,4,5
-
compiltime error at line 4,5
-
compiletime error at line 3
-
Runtime Exception