Search:

Type: Posts; User: ohad

Search: Search took 0.18 seconds.

  1. Replies
    1
    Views
    998

    what is mean to compound assignment

    Exercises

    Change the following program to use compound assignments
  2. Re: hi if u can help me please whats wrong with this code

    i post it cuz its homework and i don't understand it
  3. Re: hi if u can help me please whats wrong with this code

    sorry but i don't know what u mean i am new to java if u can explain more detail it will be great thanks.
  4. hi if u can help me please whats wrong with this code

    class BicycleDemo {
    public static void main(String[] args) {

    // Create two different
    // Bicycle objects
    Bicycle bike1 = new Bicycle();
    Bicycle bike2 = new...
  5. Replies
    1
    Views
    1,566

    help me with the learning please.

    hi i am new to java and i find it a bit hard for me to understand object oriented and binary Operator Result
    maybe a video will help.





    ~ Bitwise unary NOT
    & Bitwise AND
    | Bitwise OR
  6. Re: hi if u can help me please to figure this how D become result of 1

    thanks
  7. hi if u can help me please to figure this how D become result of 1

    int a = 1;
    int b = 2;
    int c;
    int d;
    c = ++b;//3
    d = a++;//2
    c++;//4
    System.out.println("a = " + a);
    System.out.println("b = " + b);
    System.out.println("c = " + c);
  8. Replies
    7
    Views
    1,223

    Re: what is the way to Calculate

    so what the result of c = c + a * b;

    --- Update ---

    what the result of c = c + a * b;
  9. Replies
    7
    Views
    1,223

    Re: what is the way to Calculate

    ok but how i do it a*b is 2 and then how do i do c=c&6
  10. Replies
    7
    Views
    1,223

    what is the way to Calculate

    public class NewClass4 {
    public static void main(String[] args) {
    int a = 1;
    int b = 2;
    int c = 3;
    a += 5;
    b *= 4;
    c += a * b;
    c %= 6;
    System.out.println("a = " + a);
Results 1 to 10 of 10