10th Grade Java Quizzes, Questions & Answers
Top Trending Quizzes
Questions: 45 | Attempts: 2297 | Last updated: Oct 15, 2024
-
Sample QuestionWhat is the correct syntax for each loop?
It is created for Beginners in Java. This is to test the knowledge of any Java Developer wannabe.
Questions: 59 | Attempts: 9930 | Last updated: Jun 16, 2024
-
Sample QuestionIf none of the private/protected/public is specified for a member, that member ...
JAVA FINAL EXAM
Questions: 39 | Attempts: 1881 | Last updated: Feb 9, 2024
-
Sample QuestionWhat is the size of a Char?
Questions: 20 | Attempts: 303 | Last updated: Mar 21, 2023
-
Sample QuestionWhich of the following are legal lines of Java code? 1. int w = (int)888.8; 2. byte x = (byte)100L; 3. long y = (byte)100; 4. byte z = (byte)100L;
Hi
Questions: 30 | Attempts: 4405 | Last updated: Nov 7, 2023
-
Sample QuestionChoose the operations that can be performed on String objects: (A) + (B) + = (C) - (D) % (E) ^
Recent Quizzes
.
Questions: 60 | Attempts: 337 | Last updated: Jan 22, 2024
-
Sample QuestionWhich of the following are valid JavaBean signatures?
Questions: 20 | Attempts: 378 | Last updated: Mar 21, 2023
-
Sample QuestionThe ………………………. loop is especially useful when you process a menu selection.
Questions: 29 | Attempts: 657 | Last updated: Mar 22, 2023
-
Sample QuestionWhat is the extension of byte code files?
Computer scientists understand array as an important data structure that is made up of elements, also known as variables or values. Each array is usually identified by a key or index. This makes each array different from the...
Questions: 10 | Attempts: 258 | Last updated: Mar 19, 2023
-
Sample QuestionHow is an array identified?
Advanced Java, as the name implies, is not easy! It is very advanced and complicated. Much more than basic Java. But it makes computing much easier!!! Can be used on any device and anywhere.
Questions: 10 | Attempts: 1865 | Last updated: Mar 22, 2023
-
Sample QuestionWhen the ejbRemove method encounters a system problem ,it should throw_________
This trivia quiz is made up of expression evaluation questions on Java. It is perfect for any computer geek who wants to test out how good they are when it comes to the solving problems associated with the computer language. How...
Questions: 11 | Attempts: 516 | Last updated: Mar 21, 2023
-
Sample QuestionWrite the value of z after the execution of the following code : int j; int z, j=16; z = (4*j++)/3; Hint: 1)evaluate from Left to Right 2) Prefix(++j) change and use, postfix use and change(j++) 3)Binary operations based on BODMAS rule 4) division, multiplication, and modulus whichever comes first should be performed first. 5) numerator and denominator are integers perform only integer division 151/3 = 50 6) assign the value to z.
Questions: 10 | Attempts: 113 | Last updated: Feb 13, 2024
-
Sample QuestionIn Java, each thread has its own ________, in which it runs?
Questions: 6 | Attempts: 304 | Last updated: Mar 21, 2023
-
Sample QuestionWhich of the following are true about Exceptions in the Java language?
Java is a programming language for developing and designing applications for computers. Here is an assessment test to evaluate your knowledge of Java programming.
Questions: 10 | Attempts: 373 | Last updated: Mar 20, 2023
-
Sample QuestionWho owns the Java now?
Pls Note:1) There are 20 questions in a quiz.2) Time duration is 15 minutes.3) Only one attempt is allowed.4) Candidate can navigate questions and review answers before final submission5) Compulsory to fill...
Questions: 41 | Attempts: 504 | Last updated: Mar 18, 2023
-
Sample QuestionFrom the following statements which is a disadvantage of an java array?
Questions: 30 | Attempts: 1161 | Last updated: Mar 21, 2023
-
Sample QuestionWhat is the range of short data types in Java?
.
Questions: 30 | Attempts: 150 | Last updated: Mar 14, 2023
-
Sample QuestionWhich one among these are OOPS features?
The 25 questions most important parts of the course tested Dhdagr 70 earn a lower score, you need to study this lesson
Questions: 25 | Attempts: 426 | Last updated: Mar 21, 2023
-
Sample QuestionPublic class Swap { public static void swapStrings(String x, String y){ String temp = x; x=y; y=temp; } public static void main(String[] args) { String a = "1"; String b = "2"; swapStrings(a, b); System.out.println("a="+a+" ,b="+b); }} What will be the output when executing this main?
Questions: 79 | Attempts: 77 | Last updated: Jun 19, 2023
-
Sample QuestionWhich are true1. members in interface are protected implicitly if interface is protected2. members in interface are public implicitly if interface is public3. interface can inherit another interface4. class can inherit any number of interfaces5. if an abstract class implements an interface, we have to override abstract method of the interface
Basic Elements of Java
Questions: 42 | Attempts: 1072 | Last updated: Mar 22, 2023
-
Sample QuestionSuppose x = 2 and y = 3. If the statement x *= y; is executed once, what is the value of x?
Questions: 93 | Attempts: 192 | Last updated: Mar 18, 2023
-
Sample QuestionObject-Oriented Programming means
Java is one of the most used programs by nerds and techs in the world today. If you are one of them, you know practice is key. This quiz helps you practice on it. All the best.
Questions: 10 | Attempts: 171 | Last updated: Mar 21, 2023
-
Sample QuestionPrograms designed for maintainability are constructed from small simple pieces or modules. Modules in Java are called:
This quiz is conducted as part of the activity based class and its score will be considered for the continuous evaluation of the course "Programming with Java"
Questions: 10 | Attempts: 317 | Last updated: Mar 21, 2023
-
Sample QuestionWhich will legally declare, construct, and initialize an array?
.
Questions: 18 | Attempts: 290 | Last updated: Mar 20, 2023
-
Sample QuestionConsider the following program: class Point2D { private int x, y; public Point2D(int x, int y) { this.x = x; } public String toString() { return "[" + x + ", " + y + "]"; } public static void main(String []args) { Point2D point = new Point2D(10, 20); System.out.println(point.toString()); } } Which one of the following options provides the output of this program when executed?
No Negative marking Attempt questions as many you can
Questions: 71 | Attempts: 460 | Last updated: Mar 22, 2023
-
Sample QuestionFollowing code will result in: int a = 3.5;
Java
Questions: 10 | Attempts: 385 | Last updated: Mar 22, 2023
-
Sample QuestionGiven:Which is most likely true? (Choose the most likely.)
Questions: 21 | Attempts: 90 | Last updated: Dec 8, 2023
-
Sample QuestionWhat will be the output?public class Test { static String a; static String b; public static void main(String ars[]){ System.out.print(a+b); }}
« Previous123Next »
Advertisement
Popular Quizzes
Questions: 10 | Attempts: 14502 | Last updated: Mar 22, 2023
-
Sample QuestionHow will you describe Java?
ANSWER THE FOLLOWING QUESTIONS .
Questions: 25 | Attempts: 4601 | Last updated: Sep 26, 2023
-
Sample QuestionPick runtime exception?....
What do you understand about abstract classes in Java? Would you be interested in trying this quiz? Everything in Java is connected with classes and objects, along with its characteristics, including weight and color, as well...
Questions: 10 | Attempts: 3748 | Last updated: Mar 22, 2023
-
Sample QuestionWhat is an abstract class?