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.
What is the output of the code snippet below: void main(){test(“11”);test(“1”);} void test(String x){System.out.print(x + x);}
What will be the value of x after executing this code for(int x=0; x<=10; x++) {} is run?
Which of the following we are not allowed to write java source code?
What will be the output if you execute this code? do{System.out.println("Hello World!");}while(false);
Which statement will check if x is less than y?
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 is the maximum index of the array: int[] intArray = { 1, 2, 3, 5, 6, 7 };
What type of value does the nextLine() returns?
Which is not a decision control structure?
Which of the following creates an instance of a class?
Which of the following is true about constructor?
What will be the output if you execute this code?do{System.out.println("Hello World!");}while(true);
What is the return value of this method: int test(){return 1;} ?
What will be the output if you execute this code?do{System.out.println("Hello World!");}while(false);
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 do you call a class that inherits a class?
True or False. Please select the best answer for the question.float is one of Java's Primitive data types
Which of the following is a valid method name:
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 array declarations is correct?
Can we directly compile codes from notepad?
Which of the following is not Java Literal?
Declare and initialize a double data type array named numbers with the following values: 23.35, 34.45, 56.77.
Which of the following is a valid nexDouble() return value?
What is the length of the array: int[] intArray = { 1, 2, 3, 5, 6, 7 };
The length of an array is established when the array is created at __________.
What will be the value of x after you execute this statement int z=0; for(int x=0; x
What is the correct statement to run Java program in command line?
The Java feature, "write once, run anywhere", is termed as
What will happen if you use JOptionPane.showMessageDialog statement in your program?
Since Java uses a virtual machine, what does that mean about the versatility of Java?
What is the index number of the last element of an array with 30 elements?
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 shows Overloading method?
Which of the following does not return numeric value?
What is the extension name of a Java Source code?
It is a template for creating an object?
Which of the following declares an array of int named intArray?
Which of the following class declaration is not allowed to be inherited?
Which of the following is not a primitive data type?
From the array int[] intArray = { 1, 2, 3, 5, 6, 7 };, what is the value of intArray[2]?
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 method is allowed to be overriden?
True or False. Please select the best answer for the question.Java is secured
Which of the following is a valid nextInt() return value?
Use the __________ statement when traversing through arrays.
What is the return value of this method: public void sum(){int x=1;} ?
What do you call a variable that belong to the whole class?
True or False. Please select the best answer for the question.byte, short, int, and for are one of Java's Primitive data types.
It used to read values from class variables?
What does Java generate after compiling the java source code?
Multiple-Choice. Please select the best answer for the question.Which of the following is not a Java Literal?
What is the return type of this method: int test(){return 1;} ?
Which of the following is a valid editor for java source code?
Which of the following will do implicit cast?
Multiple-Choice. Please select the best answer for the question.Which of the following is not a primitive data type?
What will happen if we compile the statement below? ~System.out.println(“Hello World!”)
Which of the following methods is allowed to be overriden?
Which of the following is not a valid variable declaration in Java?
What is the index number of the last element of an array with 20 elements?
What keyword is used to perform class inheritance?
Which of the following is a jump statement in java?
Which of the following shows a valid Overloading method?
Can we directly compile codes from NetBeans?
Which of the following is not the feature of java?
What is the output of the code snippet below: void main(){test();test();} void test(){System.out.print(“1”);}
Which of the following scenarios where an exception may occur?
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 be the value of x if we execute this: String s = "25"; int x = Integer.parseInt(s); ?
Multiple-Choice. Please select the best answer for the question.Which of the following has the correct form for an if statement?
Which of the following has the correct form for an if statement?
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”); }
Which of the following is not an escape sequence?
Which of the following is a valid statement to accept String input?
True or False. Please select the best answer for the question.Java SE is a Java Platform
Declare a two-dimensional integer array named values of size 6 columns and 4 rows.
The __________ keyword allocates memory for the array being declared.
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 did java generates after compiling the java source code?
Which of the following is a correct declaration of an array?
Which of the following is true about Interface?
What will be the value of x after executing this codefor(int x=0; x<=10; x++) {} is run?
Which of the following is the correct syntax to define a method?
What will happen if we compile the statement below?~System.out.println(=E2=80=9CHello World!=E2=80=9D)
It is used to access the instance variables shadowed by the parameters.
What is the name of this method: int test(){return 1;} ?
Multiple-Choice. Please select the best answer for the question.Which is not a repetition control structure?
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 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 identifier?
Why do we need to set the path for javac in command line?
True or False. Please select the best answer for the question.Java's control structures are branching, decision, and multithreaded.
Multiple-Choice. Please select the best answer for the question.Which of the following a valid Java identifier?
What is the result if we execute this: “a” instanceof String; ?
Which of the following is not a Java comment?
True or False. Please select the best answer for the question.Java is architecture neutral
What is the correct statement to compile Java program in command line?
True or False. Please select the best answer for the question.Java is a simple, object-oriented, portable and robust computer language.
True or False. Please select the best answer for the question.Repetition is one of Java's control structures
Which of the following is a valid multidimensional array?
Which of the following is the correct way to call the constructor of the parent class?
Which of the following is true about Runtime errors:
Multiple-Choice. Please select the best answer for the question. What will be the result if you execute this expression x=true ? 1 : 0;?
True or False. Please select the best answer for the question.Portable is one of Java's control structures
When was the officially released of Java?
What is floating-point literal?
What do you call a blueprint of an object?
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 result if we execute this: =E2=80=9Ca=E2=80=9D instanceof String; ?
What will be the output if you execute this code? do{System.out.println("Hello World!");}while(true);
Which of the following is a valid nextByte() return value?
What will be the output if you execute this code: int a[] = new int[1]; System.out.println(a[1]);
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);?
Multiple-Choice. Please select the best answer for the question.Which is not a decision control structure?
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. showInputDialog statement in your program?
Which of the following is the correct way to define an interface?
How many elements could be assigned to an array location with 5 columns and 3 rows?
Which of the following a valid Java identifier?
Which statement will check if x is equal to y?
Which of the following is not a valid Float value?
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]);}
Which of the following is not a java keyword?
Which of the following method reads input from the user and return String value?
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]);}
Multiple-Choice. Please select the best answer for the question.Which statement will check if x is less than y?
It is the method of hiding certain elements of the implementation of a certain class?
Which of the following is true about syntax errors:
Which of the following is the correct way to use an interface?
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.equals(=E2=80=9Ca=E2=80=9D);?
From the array int[] intArray = { 1, 2, 3, 5, 6, 7 };, what is the value of intArray[3]?
Which of the following show casting object?
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]);}
It is the ability of an object to have many forms?
What is the result if we execute this: “a”.equals(“a”);?
JVM is responsible for
The feature of Java which makes it possible to execute several tasks simultaneously.
Which of the following class declaration is not allowed to be instantiated?
What is the correct statement to set javac path in command line?
__________ is implemented in at least two classes with inheritance relationship.
What was the initial name for the Java programming language?
What is the input for Java Compiler?
Which of the following correctly accesses the sixth element stored in an array of 10 elements?
Which is not a repetition control structure?
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