The document discusses different types of operators in programming languages:
1. Procedure oriented languages like C, COBOL, and FORTRAN emphasize functions and procedures to divide large programs into smaller subprograms.
2. Object oriented languages like C++, Java, and Smalltalk emphasize data and objects to organize programs. Data is encapsulated within objects and objects can communicate with each other.
3. The document then discusses various types of operators in Java including arithmetic, relational, logical, assignment, and bitwise operators giving examples of each. It explains how each operator is used and provides sample code to demonstrate them.
Introduction to ArtificiaI Intelligence in Higher Education
Java Programming Materials
1. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 1
Que : 1 What is Procedure Oriented Programming Language :-
Traditional programming language like C’, COBOL, FORTRANT all are
Procedure oriented language.
No of function written to perform particular tasks. So the primary focus of
procedure language is function.
List of instructions written in a language that tells the computer to perform
some actions.
When programs become larger they become unmanageable.
Functions/procedures/subroutines adopted to make programs more complex.
As programs grow larger and more complex, even use of functions can create
problems.
The following figure understood us typical structure of procedure languages.
Features of Procedure Oriented Languages :-
Emphasis on doing things in function.
Large Programs are divide into small program called function.
Most functions share global data.
Function transfer data from one to another.
Serve Top – Down Approach.
Main Program
Function2Function1
Function5Function4Function3
2. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 2
Que :2 What is C++? And Why we use Object-Oriented Programming?
C++ is an Object – Oriented Programming Language.
It was developed by ‘Bjarne Stroustrup’ at ‘AT&T Bell laboratories” in Murray
Hills, New Jersey, USA.
In the early 1980, Bjarne want to combine Simula67 and Strong support of
C’ to make powerful language that support object-oriented programming
support.
As a result C++ was developed.
Object Oriented Programming language :-
C++, Smalltalk, Eiffel, CLOS, Java all are Object-oriented programming
language.
Object-oriented programming (OOP) is a powerful way to approach the task
of programming.
OOP takes the best of the ideas of structured programming and combines
them with powerful new concepts that allow you to organize your programs
more effectively.
Most of OOP use to easy to maintainability, reusability, portability, security,
integrity, and user friendliness of software products.
OOP is lesser maintaince cost and better programmer productivity.
OOP is use to structure programming and it can be easily update from small
to large system when user necessary.
Each component becomes a self-contained object that contains its own
instruction and data that related to that object.
In this way, complexity is reduced because data is related to its own object,
so the programmer can manage larger programs.
3. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 3
The following figure understood us typical structure and organization of data
and object in object - oriented languages.
Object A Object B
Object C
Features of Object Oriented Languages: -
Emphasis on data rather than functions.
Programs are dividing into objects.
Data is hidden and cannot access by external function.
All objects may communicate with other objects.
New data and function can easily add when necessary.
Serve Down - Top Approach.
Data
Functions
Data
Functions
Functions
Data
4. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 4
- : Java Materials : -
5. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 5
6. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 6
7. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 7
8. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 8
9. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 9
10. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 10
11. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 11
12. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 12
13. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 13
14. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 14
15. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 15
16. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 16
17. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 17
18. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 18
19. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 19
20. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 20
21. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 21
22. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 22
23. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 23
24. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 24
25. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 25
26. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 26
27. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 27
28. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 28
29. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 29
30. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 30
31. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 31
Que 13 :- What is Operator ? Explain Types of Operator.
Operator is a Symbol that tells to computer to performed certain Mathematical or Logical
Manipulation.
java provides a rich set of operators to manipulate variables. We can divide all the Java
operators into the following groups:
(1) Arithmetic Operators
(2) Relational Operators
(3) Logical Operators
(4) Assignment Operators
(5) Bitwise Operators
(6) Misc Operators
(1) Arithmetic Operators:
Arithmetic operators are used in mathematical expressions in the same way that they are used
in algebra.
This operator is basic operator , The following table lists the arithmetic operators:
Assume integer variable A holds 10 and variable B holds 20 then:
Operator Description Example
+ Addition - Adds values on either side of the operator A + B will give 30
-
Subtraction - Subtracts right hand operand from left hand
operand
A - B will give -10
* Multiplication - Multiplies values on either side of the operator A * B will give 200
/ Division - Divides left hand operand by right hand operand B / A will give 2
%
Modulus - Divides left hand operand by right hand operand
and returns remainder
B % A will give 0
++ Increment - Increase the value of operand by 1 B++ gives 21
-- Decrement - Decrease the value of operand by 1 B-- gives 19
32. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 32
Example:-
public class Test {
public static void main(String args[])
{
int a = 10;
int b = 20;
int c = 25;
int d = 25;
System.out.println("a + b = " + (a + b) );
System.out.println("a - b = " + (a - b) );
System.out.println("a * b = " + (a * b) );
System.out.println("b / a = " + (b / a) );
System.out.println("b % a = " + (b % a) );
System.out.println("c % a = " + (c % a) );
System.out.println("a++ = " + (a++) );
System.out.println("b-- = " + (a--) );
// Check the difference in d++ and ++d
System.out.println("d++ = " + (d++) );
System.out.println("++d = " + (++d) );
}
}
This would produce following result:
a + b = 30
a - b = -10
a * b = 200
b / a = 2
b % a = 0
c % a = 5
a++ = 10
b-- = 11
d++ = 25
++d = 27
(2) Relational Operators:
The Relational Operator is Compare two value the following operator is used.
Assume variable A holds 10 and variable B holds 20 then:
33. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 33
Operator Description Example
==
Checks if the value of two operands are equal or not, if yes
then condition becomes true.
(A == B) is not true.
!=
Checks if the value of two operands are equal or not, if
values are not equal then condition becomes true.
(A != B) is true.
>
Checks if the value of left operand is greater than the value
of right operand, if yes then condition becomes true.
(A > B) is not true.
<
Checks if the value of left operand is less than the value of
right operand, if yes then condition becomes true.
(A < B) is true.
>=
Checks if the value of left operand is greater than or equal to
the value of right operand, if yes then condition becomes
true.
(A >= B) is not true.
<=
Checks if the value of left operand is less than or equal to
the value of right operand, if yes then condition becomes
true.
(A <= B) is true.
The following simple example program demonstrates the relational operators. Copy and paste
following Java program in Test.java file and compile and run this program. :
public class Test
{
public static void main(String args[])
{
int a = 10;
int b = 20;
System.out.println("a == b = " + (a == b) );
System.out.println("a != b = " + (a != b) );
System.out.println("a > b = " + (a > b) );
System.out.println("a < b = " + (a < b) );
System.out.println("b >= a = " + (b >= a) );
System.out.println("b <= a = " + (b <= a) );
}
}
This would produce following result:
a == b = false
a != b = true
a > b = false
a < b = true
b >= a = true
b <= a = false
34. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 34
(3) Logical Operators:
The Logical Operator is Compare two or more than value in condition check the following
operator is used.
Assume boolean variables A holds true and variable B holds false then:
Operator Description Example
&&
Called Logical AND operator. If both the operands are non zero
then then condition becomes true.
(A && B) is false.
||
Called Logical OR Operator. If any of the two operands are non
zero then then condition becomes true.
(A || B) is true.
!
Called Logical NOT Operator. Use to reverses the logical state
of its operand. If a condition is true then Logical NOT operator
will make false.
!(A && B) is true.
The following simple example program demonstrates the logical operators. Copy and paste
following Java program in Test.java file and compile and run this program:
public class Test
{
public static void main(String args[])
{
boolean a = true;
boolean b = false;
System.out.println("a && b = " + (a&&b));
System.out.println("a || b = " + (a||b) );
System.out.println("!(a && b) = " + !(a && b));
}
}
This would produce following result:
a && b = false
a || b = true
!(a && b) = true
35. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 35
(4) Assignment Operators:
The Assignment Operator is used to assign value ‘=’ sign for the following operator used.
There are following assignment operators supported by Java language:
Operator Description Example
=
Simple assignment operator,
Assigns values from right side
operands to left side operand
C = A + B will assigned value of A + B into C
+=
Add AND assignment operator, It
adds right operand to the left
operand and assign the result to
left operand
C += A is equivalent to C = C + A
-=
Subtract AND assignment
operator, It subtracts right operand
from the left operand and assign
the result to left operand
C -= A is equivalent to C = C - A
*=
Multiply AND assignment operator,
It multiplies right operand with the
left operand and assign the result
to left operand
C *= A is equivalent to C = C * A
/=
Divide AND assignment operator,
It divides left operand with the right
operand and assign the result to
left operand
C /= A is equivalent to C = C / A
%=
Modulus AND assignment
operator, It takes modulus using
two operands and assign the result
to left operand
C %= A is equivalent to C = C % A
<<= Left shift AND assignment operator C <<= 2 is same as C = C << 2
>>=
Right shift AND assignment
operator
C >>= 2 is same as C = C >> 2
&= Bitwise AND assignment operator C &= 2 is same as C = C & 2
^=
bitwise exclusive OR and
assignment operator
C ^= 2 is same as C = C ^ 2
|=
bitwise inclusive OR and
assignment operator
C |= 2 is same as C = C | 2
36. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 36
Example :-
public class Test
{
public static void main(String args[])
{
int a = 10;
int b = 20;
int c = 0;
c = a + b;
System.out.println("c = a + b = " + c );
c += a ;
System.out.println("c += a = " + c );
c -= a ;
System.out.println("c -= a = " + c );
c *= a ;
System.out.println("c *= a = " + c );
a = 10;
c = 15;
c /= a ;
System.out.println("c /= a = " + c );
a = 10;
c = 15;
c %= a ;
System.out.println("c %= a = " + c );
c <<= 2 ;
System.out.println("c <<= 2 = " + c );
c >>= 2 ;
System.out.println("c >>= 2 = " + c );
c >>= 2 ;
System.out.println("c >>= a = " + c );
c &= a ;
System.out.println("c &= 2 = " + c );
c ^= a ;
System.out.println("c ^= a = " + c );
c |= a ;
System.out.println("c |= a = " + c );
} }
37. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 37
This would produce following result:
c = a + b = 30
c += a = 40
c -= a = 30
c *= a = 300
c /= a = 1
c %= a = 5
c <<= 2 = 20
c >>= 2 = 5
c >>= 2 = 1
c &= a = 0
c ^= a = 10
c |= a = 10
(5) Bitwise Operators:
Java defines several bitwise operators which can be applied to the integer types, long, int, short,
char, and byte.
Bitwise operator works on bits and perform bit by bit operation. Assume if a = 60; and b = 13;
Now in binary format they will be as follows:
a = 0011 1100
b = 0000 1101
-----------------
a&b = 0000 1100
a|b = 0011 1101
a^b = 0011 0001
~a = 1100 0011
The following table lists the bitwise operators:
Assume integer variable A holds 60 and variable B holds 13 then:
Operator Description Example
&
Binary AND Operator copies a bit to the
result if it exists in both operands.
(A & B) will give 12 which is 0000 1100
38. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 38
|
Binary OR Operator copies a bit if it
exists in eather operand.
(A | B) will give 61 which is 0011 1101
^
Binary XOR Operator copies the bit if it
is set in one operand but not both.
(A ^ B) will give 49 which is 0011 0001
~
Binary Ones Complement Operator is
unary and has the efect of 'flipping' bits.
(~A ) will give -60 which is 1100 0011
<<
Binary Left Shift Operator. The left
operands value is moved left by the
number of bits specified by the right
operand.
A << 2 will give 240 which is 1111 0000
>>
Binary Right Shift Operator. The left
operands value is moved right by the
number of bits specified by the right
operand.
A >> 2 will give 15 which is 1111
>>>
Shift right zero fill operator. The left
operands value is moved right by the
number of bits specified by the right
operand and shifted values are filled up
with zeros.
A >>>2 will give 15 which is 0000 1111
Example :-
public class Test
{
public static void main(String args[])
{
int a = 60; /* 60 = 0011 1100 */
int b = 13; /* 13 = 0000 1101 */
int c = 0;
c = a & b; /* 12 = 0000 1100 */
System.out.println("a & b = " + c );
c = a | b; /* 61 = 0011 1101 */
System.out.println("a | b = " + c );
c = a ^ b; /* 49 = 0011 0001 */
System.out.println("a ^ b = " + c );
c = ~a; /*-61 = 1100 0011 */
System.out.println("~a = " + c );
c = a << 2; /* 240 = 1111 0000 */
System.out.println("a << 2 = " + c );
39. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 39
c = a >> 2; /* 215 = 1111 */
System.out.println("a >> 2 = " + c );
c = a >>> 2; /* 215 = 0000 1111 */
System.out.println("a >>> 2 = " + c );
}
}
This would produce following result:
a & b = 12
a | b = 61
a ^ b = 49
~a = -61
a << 2 = 240
a >> 15
a >>> 15
(6) Misc Operators:
There are few other operators supported by Java Language.
Conditional Operator ( ? : ):
Conditional operator is also known as the ternary operator. This operator consists of three
operands and is used to evaluate boolean expressions. The goal of the operator is to decide
which value should be assigned to the variable. The operator is written as :
variable x = (expression) ? value if true : value if false
x = (a > b)? a : b;
Following is the example:
public class Test
{
public static void main(String args[])
{
int a , b;
a = 10;
b = (a == 1) ? 20: 30;
System.out.println( "Value of b is : " + b );
b = (a == 10) ? 20: 30;
System.out.println( "Value of b is : " + b );
}
}
40. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 40
This would produce following result:
Value of b is : 30
Value of b is : 20
instanceOf Operator:
This operator is used only for object reference variables. The operator checks whether the
object is of a particular type(class type or interface type). instanceOf operator is wriiten as:
( Object reference variable ) instanceOf (class/interface type)
If the object referred by the variable on the left side of the operator passes the IS-A check for
the class/interface type on the right side then the result will be true. Following is the example:
String name = = 'James';
boolean result = name instanceOf String;
// This will return true since name is type of String
This operator will still return true if the object being compared is the assignment compatible with
the type on the right. Following is one more example:
class Vehicle {}
public class Car extends Vehicle
{
public static void main(String args[])
{
Vehicle a = new Car();
boolean result = a instanceof Car;
System.out.println( result);
}
}
This would produce following result:
true
41. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 41
Precedence of Java Operators:
Operator precedence determines the grouping of terms in an expression. This affects how an
expression is evaluated. Certain operators have higher precedence than others; for example,
the multiplication operator has higher precedence than the addition operator:
For example x = 7 + 3 * 2; Here x is assigned 13, not 20 because operator * has higher
precedenace than + so it first get multiplied with 3*2 and then adds into 7.
Here operators with the highest precedence appear at the top of the table, those with the lowest
appear at the bottom. Within an expression, higher precedenace operators will be evaluated
first.
Category Operator Associativity
Postfix () [] . (dot operator) Left to right
Unary ++ - - ! ~ Right to left
Multiplicative * / % Left to right
Additive + - Left to right
Shift >> >>> << Left to right
Relational > >= < <= Left to right
Equality == != Left to right
Bitwise AND & Left to right
Bitwise XOR ^ Left to right
Bitwise OR | Left to right
Logical AND && Left to right
Logical OR || Left to right
Conditional ?: Right to left
Assignment = += -= *= /= %= >>= <<= &= ^= |= Right to left
Comma , Left to right
42. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 42
Que 14 :- Write a Short notes on Data types.
Based on the data type of a variable, the operating system allocates memory and
decides what can be stored in the reserved memory. Therefore, by assigning
different data types to variables, you can store integers, decimals, or characters in
these variables.
Data type is a pre-defined characteristic of specific type or specific size to be
stored.
There are two data types available in Java:
Primitive Data Types
Reference/Object Data Types
Primitive Data Types:
There are eight primitive data types supported by Java. Primitive data types are predefined by the
language and named by a key word. Let us now look into detail about the eight primitive data
types.
Type Typical Bit Width Typical Range
char 1byte -127 to 127 or 0 to 255
unsigned char 1byte 0 to 255
signed char 1byte -127 to 127
int 4bytes -2147483648 to 2147483647
short int 2bytes -32768 to 32767
unsigned short int 2bytes 0 to 65,535
long int 4bytes -2,147,483,647 to 2,147,483,647
float 4bytes +/- 3.4e +/- 38 (~7 digits)
double 8bytes +/- 1.7e +/- 308 (~15 digits)
long double 8bytes +/- 1.7e +/- 308 (~15 digits)
43. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 43
byte:
Byte data type is a 8-bit signed two's complement integer.
Minimum value is -128 (-2^7)
Maximum value is 127 (inclusive)(2^7 -1)
Default value is 0
Byte data type is used to save space in large arrays, mainly in place
of integers, since a byte is four times smaller than an int.
Example : byte a = 100 , byte b = -50
short:
Short data type is a 16-bit signed two's complement integer.
Minimum value is -32,768 (-2^15)
Maximum value is 32,767(inclusive) (2^15 -1)
Short data type can also be used to save memory as byte data type.
A short is 2 times smaller than an int
Default value is 0.
Example : short s= 10000 , short r = -20000
int:
Int data type is a 32-bit signed two's complement integer.
Minimum value is - 2,147,483,648.(-2^31)
Maximum value is 2,147,483,647(inclusive).(2^31 -1)
Int is generally used as the default data type for integral values
unless there is a concern about memory.
The default value is 0.
Example : int a = 100000, int b = -200000
44. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 44
long:
Long data type is a 64-bit signed two's complement integer.
Minimum value is -9,223,372,036,854,775,808.(-2^63)
Maximum value is 9,223,372,036,854,775,807 (inclusive). (2^63 -
1)
This type is used when a wider range than int is needed.
Default value is 0L.
Example : long a = 100000L, int b = -200000L
float:
Float data type is a single-precision 32-bit IEEE (Institute of
Electrical and Electronic Engineers) 754 floating point.
Float is mainly used to save memory in large arrays of floating
point numbers.
Default value is 0.0f.
Float data type is never used for precise values such as currency.
Example : float f1 = 234.5f
double:
double data type is a double-precision 64-bit IEEE 754 floating
point.
This data type is generally used as the default data type for decimal
values. Generally the default choice.
Double data type should never be used for precise values such as
currency.
Default value is 0.0d.
Example : double d1 = 123.4
45. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 45
boolean:
boolean data type represents one bit of information.
There are only two possible values : true and false.
This data type is used for simple flags that track true/false
conditions.
Default value is false.
Example : boolean one = true
char:
char data type is a single 16-bit Unicode character.
Minimum value is 'u0000' (or 0).
Maximum value is 'uffff' (or 65,535 inclusive).
Char data type is used to store any character.
Example . char letterA ='A'
46. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 46
47. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 47
48. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 48
49. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 49
50. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 50
51. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 51
52. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 52
53. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 53
54. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 54
55. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 55
56. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 56
57. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 57
58. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 58
Example:-
import java.io.*;
public class switch1
{
public static void main(String s[])
{
int marks=95,result;
result=marks/10;
switch(result)
{
case 9:
case 8:
case 7:
System.out.println("distinction class");
break;
case 6:
System.out.println("First class");
break;
case 5:
System.out.println("second class");
break;
case 4:
System.out.println("pass class");
break;
default:
System.out.println("fail");
break;
}
}
}
59. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 59
60. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 60
61. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 61
62. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 62
63. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 63
64. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 64
65. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 65
66. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 66
67. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 67
68. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 68
69. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 69
70. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 70
71. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 71
72. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 72
73. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 73
74. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 74
75. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 75
76. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 76
77. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 77
78. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 78
79. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 79
80. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 80
81. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 81
82. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 82
83. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 83
84. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 84
85. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 85
86. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 86
87. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 87
88. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 88
89. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 89
90. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 90
91. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 91
92. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 92
93. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 93
94. SMT. K K PATEL MBA / MCA COLLEGE
PINKESH MODI (MCA) PAGE NO : 94