Old Exam studying stuff
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
/*
|
||||
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
|
||||
*/
|
||||
package com.mycompany.mavenproject1;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author caleb
|
||||
*/
|
||||
public class BitwiseOR {
|
||||
|
||||
public static void main(String[] args) {
|
||||
int x = 1;
|
||||
int y = 5;
|
||||
while (y-- > 0 ^ x++ < 100);
|
||||
System.out.println(++x);
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user