List out various Primitive data types in Java. પરશન.1 (અ) Java ના વિવિધ પરકારના Primitive data typeની યાદી આપો.
[3 marks]Explain Structure of Java Program with suitable example. (બ) યોગય ઉદાહરણ સાથ Java Programન સટરકચર સમજાિો.
[4 marks]List arithmetic operators in Java. Develop a Java program using any three arithmetic operators and show the output of program. (ક) Java ના arithmetic operatorsની યાદી આપો. કોઈ પણ તરણ arithmetic operatorsનો ઉપયોગ કરીન Java Program વિકસાિો અન તન output બતાિો.
[7 marks]Write syntax of Java for loop statement. Develop a Java program to find out prime number between 1 to 10. (ક) Javaમા for લ પ માની વસનકષ લખો. ૧ થી ૧૦ િચચ આિતા પરાઈમ નબર શોધિા માનો java કોડ વિકસાિો.
[7 marks]List the differences between Procedure-Oriented Programming (POP) and Object-Oriented Programming (OOP). પરશન.2 (અ) Procedure-Oriented Programming (POP) અન Object-Oriented Programming (OOP) ના તફાિતોની યાદી આપો.
[3 marks]Explain static keyword with example. (બ) યોગય ઉદાહરણ સાથ static કીિડડ સમજાિો.
[4 marks]Define Constructor. List types of Constructors. Develop a java code to explain Parameterized constructor. (ક) Constructorની વયાખયા આપો. Constructorના વિવિધ પરકારોની યાદી આપો. Parameterized constructor સમજાિિા માનો java code વિકસાિો.1
[7 marks]List the basic OOP concepts in Java and explain any one. પરશન.2 (અ) java મા મળભત OOP conceptsની યાદી આપો અન કોઈ પણ એક સમજાિો.
[3 marks]Explain final keyword with example. (બ) યોગય ઉદાહરણ સાથ final કીિડડ સમજાિો.
[4 marks]Write scope of java access modifier. Develop a java code to explain public modifier (ક) java access modifierમાનો scope લખો. public modifier સમજાિિા માનો java code વિકસાિો. Q. 3 (a) List out different types of inheritance and explain any one with example. પરશન.3 (અ) વિવિધ પરકારના inheritance ની યાદી આપો અન કોઈ પણ એક ઉદાહરણ સાથ સમજાિો.
[3 marks]Explain any two String buffer class methods with suitable example. (બ) કોઈ પણ બ String buffer class methods યોગય ઉદાહરણ સાથ સમજાિો.
[4 marks]Define Interface. Write a java program to demonstrate multiple inheritance using interface. (ક) Interfaceની વયાખયા આપો. Interfaceની મદદ થી multiple inheritance નો java program લખો.
[7 marks]Q. 3 (a) Give differences between Abstract class and Interface. પરશન.3 (અ) Abstract class અન Interface નો તફાિત આપો.
[3 marks]Explain any two String class methods with suitable example. (બ) કોઈ પણ બ String class methods યોગય ઉદાહરણ સાથ સમજાિો.
[4 marks]Explain package and list out steps to create package with suitable example. (ક) Package સમજાિો અન package create કરિા માના સટપસની યાદી બનાિો. Q. 4 (a) List types of errors in Java. પરશન.4 (અ) java મા errorના પરકારોની યાદી આપો.
[3 marks]Explain try catch block with example. (બ) try catch block યોગય ઉદાહરણ સાથ સમજાિો.
[4 marks]List out any four differences between method overloading and overriding. Write a java code to explain method overriding. (ક) method overloading અન overriding િચચના ચાર તફાિત આપો. method overriding સમજાિિા માનો java program લખો
[7 marks]Q. 4 (a) List any four inbuilt exceptions. પરશન.4 (અ) કોઈ પણ ચાર inbuilt exceptions ની યાદી આપો.
[3 marks]Explain “throw” keyword with suitable example. (બ) યોગય ઉદાહરણ સાથ “throw” કીિડડ સમજાિો.
[4 marks]Compare ‘this’ keyword Vs ‘Super’ keyword. Explain super keyword with suitable Example. (ક) ‘this’ કીિડડ ‘Super’ કીિડડ સાથ સરખાિો. યોગય ઉદાહરણ સાથ super કીિડડ સમજાિો.
[7 marks]List Different Stream Classes. પરશન.5 (અ) વિવિધ Stream Classes ની યાદી આપો.
[3 marks]Write a java program to develop user defined exception for “Divide by zero” error. (બ) ‘Divide by Zero’ એરર મા ય ઝર ડીફાઇન એકસપસન હનડલ કરિા મા જાિા પરોગરામ લખો.
[4 marks]Write a program in Java that reads the content of a file byte by byte and copy it into another file. (ક) જાિામા એક પરોગરામ લખો જ બાઈ બાય બાઈ ફાઈલના કનન િાચ અન તન બીજી ફાઈલ મા કોપી કર.
[7 marks]List different file operations in Java. પરશન.5 (અ) javaના વિવિધ file operationsની યાદી આપો.
[3 marks]Write a java program to explain finally block in exception handling. (બ) એકસપસન હનડવલગ મા finally block સમજાિતો જાિા પરોગરામ લખો.
[4 marks]Write a java program to create a file and perform write operation on this file. (ક) ફાઈલ વિએ કરિા અન તમા લખિા માનો જાિા પરોગરામ લખો3
[7 marks]