1 of 58

OBJECT ORIENTED PROGRAMMING THROUGH JAVA

2 of 58

3 of 58

4 of 58

5 of 58

6 of 58

7 of 58

8 of 58

Writing Simple Java Programs

class Simple {

public static void main(String[] args) {

int a = 10;

int b = 10;

int c = a + b;

System.out.println(c);

}

}

9 of 58

class Simple {

public static void main(String[] args) {

int a = 10;

int b = 10;

int c = a + b;

System.out.println(c);

}

}

Writing Simple Java Programs…

10 of 58

11 of 58

12 of 58

13 of 58

14 of 58

15 of 58

16 of 58

17 of 58

18 of 58

19 of 58

20 of 58

21 of 58

22 of 58

23 of 58

24 of 58

25 of 58

26 of 58

27 of 58

28 of 58

29 of 58

30 of 58

31 of 58

32 of 58

33 of 58

34 of 58

35 of 58

36 of 58

37 of 58

38 of 58

39 of 58

40 of 58

41 of 58

42 of 58

43 of 58

44 of 58

45 of 58

46 of 58

47 of 58

48 of 58

49 of 58

50 of 58

51 of 58

52 of 58

53 of 58

54 of 58

55 of 58

56 of 58

57 of 58

58 of 58