Online Access Free 1Z0-501 Exam Questions

Exam Code:1Z0-501
Exam Name:Java Certified Programmer
Certification Provider:Oracle
Free Question Number:147
Posted:Sep 04, 2025
Rating
100%

Question 1

Which constructs a BufferedIputStream?

Question 2

How can you create a listener class that receives events when the mouse is moved?

Question 3

Given:
1 . public class IfTest (
2 . public static void main(string[]args) {
3 . int x = 3;
4 . int y = 1;
5 . if (x = y)
6 . system.out.printIn("Not equal");
7 . else
8 . system.out.printIn("Equal");
9 .}
1 0. )
What is the result?

Question 4

Given:
1. class super {
2. public float getNum() {return 3.0f;}
3 . )
4 .
5 . public class Sub extends Super {
6 .
7 .)
Which method, placed at line 6, will cause a compiler error?

Question 5

Given:
1 . public class WhileFoo {
2 . public static void main (String []args){
3 . int x= 1, y = 6;
4 . while (y--){x--;}
5 . system.out.printIn("x=" + x "y =" + y);
6 .}
7 . }
What is the result?

Add Comments

Your email address will not be published. Required fields are marked *

insert code
Type the characters from the picture.