Ctrl + F is the shortcut in your browser or operating system that allows you to find words or questions quickly.
Ctrl + Tab to move to the next tab to the right and Ctrl + Shift + Tab to move to the next tab to the left.
On a phone or tablet, tap the menu icon in the upper-right corner of the window; Select "Find in Page" to search a question.
Share UsSharing is Caring
It's the biggest motivation to help us to make the site better by sharing this to your friends or classmates.
A course that builds upon foundational programming concepts, focusing on data structures, and problem-solving techniques to further develop programming skills.
From the array int[] intArray = { 1, 2, 3, 5, 6, 7 };, what is the value of intArray[2]?
The length of an array is established when the array is created at __________.
What is the input for Java Compiler?
Which of the following is not the feature of java?
Can we directly compile codes from NetBeans?
Which of the following does not return numeric value?
What is the output of the code snippet below:void main(){test(1.0);test(1);}void test(double x){System.out.print(x); }void test(int x){System.out.print(x);}
What will happen if you use JOptionPane.showMessageDialog statement in your program?
what will be the output if you execute this code?int x=1;switch(x){case 1: System.out.print(=E2=80=9C1=E2=80=9D);case 2: System.out.print(=E2=80=9C1=E2=80=9D);case 3: System.out.print(=E2=80=9C1=E2=80=9D);default: System.out.print(=E2=80=9C1=E2=80=9D);}
What will be the output if you execute this code?do{System.out.println("Hello World!");}while(false);
Which of the following shows a valid Overloading method?
What type of value does the nextLine() returns?
The feature of Java which makes it possible to execute several tasks simultaneously.
True or False. Please select the best answer for the question.Portable is one of Java's control structures
Which of the following method is allowed to be overriden?
What will be the output if you execute this code? do{System.out.println("Hello World!");}while(true);
What do you call a class that inherits a class?
What is the result if we execute this: “a” instanceof String; ?
What is the output of the code snippet below: int[] intArray = { 1, 2, 3, 5, 6, 7 }; for(int x = intArray.length-1; x>=0; x--){System.out.print(intArray[x]);}
Which of the following is the correct way to use an interface?
Which of the following is the correct way to define an interface?
True or False. Please select the best answer for the question.Repetition is one of Java's control structures
What is the return type of this method: int test(){return 1;} ?
Which of the following is a valid nextInt() return value?
True or False. Please select the best answer for the question.byte, short, int, and for are one of Java's Primitive data types.
Which of the following declares an array of int named intArray?
Which of the following is the correct way to call the constructor of the parent class?
What was the initial name for the Java programming language?
Multiple-Choice. Please select the best answer for the question.Which statement will check if x is less than y?
what will be the output if you execute this code? int x=2; switch(x){ case 1: System.out.print(“1”); case 2: System.out.print(“1”); case 3: System.out.print(“1”); default: System.out.print(“1”); }
What do you call a variable that belong to the whole class?
Which of the following is the correct syntax to define a method?
Which of the following is true about constructor?
It used to read values from class variables?
Which of the following creates an instance of a class?
What will be the output if you execute this code? do{System.out.println("Hello World!");}while(false);
What will be the value of x if we execute this: String s = "25"; int x = Integer.parseInt(s); ?
Which of the following is not Java Literal?
What will be the value of x after you execute this statement int z=0; for(int x=0; x
What will be the value of x after you execute this statementint z=0; for(int x=0; x<10; x++) for(int y=0; y<x; y++) z*=(x*y);
Which of the following is a valid nexDouble() return value?
Which of the following is a valid editor for java source code?
Why do we need to set the path for javac in command line?
Declare and initialize a double data type array named numbers with the following values: 23.35, 34.45, 56.77.
It is the method of hiding certain elements of the implementation of a certain class?
True or False. Please select the best answer for the question.for, while and do-while is part of Java's Repetition Control Structures
What is the output of the code snippet below: int[] intArray = new int[10]; for(int x = 0; x <intArray.length; x++) {System.out.print(intArray[x]);}
True or False. Please select the best answer for the question.Java is architecture neutral
What will be the value of x after executing this code for(int x=0; x<=10; x++) {} is run?
Which of the following scenarios where an exception may occur?
True or False. Please select the best answer for the question.Java SE is a Java Platform
Use the __________ statement when traversing through arrays.
What keyword is used to perform class inheritance?
Can we directly compile codes from notepad?
What is the correct statement to run Java program in command line?
What is the output of the code snippet below: void main(){test(=E2=80=9C11=E2=80=9D);test(=E2=80=9C1=E2=80=9D);} void test(String x){System.out.print(x + x);}
What is the index number of the last element of an array with 30 elements?
What is the result if we execute this: “a”.equals(“a”);?
Which of the following is a valid nextByte() return value?
Which of the following is not a java keyword?
Which of the following shows Overloading method?
Which of the following is a valid statement to accept int input? Let us assume that we have declared scan as Scanner.
Which of the following class declaration is not allowed to be inherited?
Which of the following methods is allowed to be overriden?
Which of the following is not a valid Float value?
True or False. Please select the best answer for the question.Java's control structures are branching, decision, and multithreaded.
What will be the value of x after you execute this statement int z=0; for(int x=0; x<10; x++) for(int y=0; y<x; y++) z*=(x*y);
Which of the following is a valid method name:
True or False. Please select the best answer for the question.Java is a simple, object-oriented, portable and robust computer language.
Multiple-Choice. Please select the best answer for the question.Which of the following a valid Java identifier?
What will happen if we compile the statement below? ~System.out.println(“Hello World!”)
True or False. Please select the best answer for the question.Java is secured
What is the maximum index of the array: int[] intArray = { 1, 2, 3, 5, 6, 7 };
What is the output of the code snippet below: void main(){test();test();} void test(){System.out.print(=E2=80=9C1=E2=80=9D);}
Which of the following a valid Java identifier?
Which of the following is true about syntax errors:
Multiple-Choice. Please select the best answer for the question.What will be the value of x after you execute this statement int z=0; for(int x=0; x<10; x++) for(int y=0; y<x; y++) z*=(x*y);?
Which of the following is not a Java comment?
Which of the following will do implicit cast?
Which of the following is not a primitive data type?
What is the output of the code snippet below: void main(){test(“11”);test(“1”);} void test(String x){System.out.print(x + x);}
Which of the following is a correct declaration of an array?
Which statement will check if x is less than y?
What will happen if you use JOptionPane. showInputDialog statement in your program?
When was the officially released of Java?
What is the correct statement to set javac path in command line?
What did java generates after compiling the java source code?
Multiple-Choice. Please select the best answer for the question.Which is not a repetition control structure?
Which of the following is a jump statement in java?
__________ is implemented in at least two classes with inheritance relationship.
The __________ keyword allocates memory for the array being declared.
What is the return value of this method: int test(){return 1;} ?
What will happen if we compile the statement below?~System.out.println(=E2=80=9CHello World!=E2=80=9D)
What is the output of the code snippet below: int[] intArray = { 1, 2, 3, 5, 6, 7 }; for(int x = intArray.length-1; x>=0; x--){System.out.print(intArray[x]);}
What is the output of the code snippet below: void main(){test();test();} void test(){System.out.print(“1”);}
Which of the following is not a valid variable declaration in Java?
What is the return value of this method: public void sum(){int x=1;} ?
Which of the following show casting object?
What will be the output if you execute this code?do{System.out.println("Hello World!");}while(true);
Since Java uses a virtual machine, what does that mean about the versatility of Java?
What is the output of the code snippet below: int[] intArray = new int[10];for(int x = 0; x<intArray.length; x++){System.out.print(intArray[x]);}
The Java feature, "write once, run anywhere", is termed as
What is the extension name of a Java Source code?
Multiple-Choice. Please select the best answer for the question.Which of the following has the correct form for an if statement?
What is the index number of the last element of an array with 20 elements?
What is the result if we execute this: =E2=80=9Ca=E2=80=9D.equals(=E2=80=9Ca=E2=80=9D);?
what will be the output if you execute this code? int x=1; switch(x){ case 1: System.out.print(“1”); case 2: System.out.print(“1”); case 3: System.out.print(“1”); default: System.out.print(“1”); }
What is the output of the code snippet below: void main(){test(1.0); test(1);} void test(double x){ System.out.print(x); } void test(int x){ System.out.print(x);}
How many elements could be assigned to an array location with 5 columns and 3 rows?
What will be the value of x after executing this codefor(int x=0; x<=10; x++) {} is run?
Which is not a decision control structure?
Which of the following correctly accesses the sixth element stored in an array of 10 elements?
Which of the following has the correct form for an if statement?
JVM is responsible for
Which of the following is a valid multidimensional array?
Which of the following is a valid statement to accept String input?
True or False. Please select the best answer for the question.float is one of Java's Primitive data types
What will be the output if you execute this code: int a[] = new int[1]; System.out.println(a[1]);
What do you call a blueprint of an object?
What will be the value of x after executing this code for(int x=0; x<=11; x++) {} is run?
What is the result if we execute this: =E2=80=9Ca=E2=80=9D instanceof String; ?
Which of the following array declarations is correct?
Which of the following class declaration is not allowed to be instantiated?
It is a template for creating an object?
Multiple-Choice. Please select the best answer for the question.Which of the following is not a primitive data type?
What is the name of this method: int test(){return 1;} ?
What is the correct statement to compile Java program in command line?
Multiple-Choice. Please select the best answer for the question.Which is not a decision control structure?
Which statement will check if x is equal to y?
Which of the following is not an escape sequence?
It is used to access the instance variables shadowed by the parameters.
Which of the following is true about Runtime errors:
Which of the following is a valid identifier?
Declare a two-dimensional integer array named values of size 6 columns and 4 rows.
What is the length of the array: int[] intArray = { 1, 2, 3, 5, 6, 7 };
Which of the following is true about Interface?
What is floating-point literal?
What does Java generate after compiling the java source code?
From the array int[] intArray = { 1, 2, 3, 5, 6, 7 };, what is the value of intArray[3]?
Which is not a repetition control structure?
Multiple-Choice. Please select the best answer for the question. What will be the result if you execute this expression x=true ? 1 : 0;?
Which of the following method reads input from the user and return String value?
It is the ability of an object to have many forms?
Which of the following we are not allowed to write java source code?
Multiple-Choice. Please select the best answer for the question.Which of the following is not a Java Literal?
To keep up this site, we need your assistance. A little gift will help us alot.
Donate- The more you give the more you receive.
Related SubjectJavascript Algorithms and Data Structures
Mathematics
Logistics Management
Fundamentals of Database System
General Mathematics
Calculus
Programming Logic and Design
Social Media Research Queries
Numerical Methods
Discrete Mathematics
Introduction to Machine Learning
Algorithms and Complexity
Computer Science
Object Oriented Programming Laboratory
Software Development
Shopee Helmet
Shopee 3D Floor
Lazada Smart TV Box